download and install Tomcat I think.
Just as the quick start said.

2007/10/31, Matt Raible <[EMAIL PROTECTED]>:
>
> Do you want Cargo to download and install Tomcat, or do you want to
> use one that's already installed on your system?
>
> Matt
>
> On 10/31/07, 罗霄 <[EMAIL PROTECTED]> wrote:
> > Configuration of the tomcat in pom.xml
> >   <!-- Cargo settings -->
> >         <cargo.container>tomcat5x</cargo.container>
> >
> > <cargo.container.home>/opt/tomcat/</cargo.container.home>
> >
> > <cargo.container.url>
> http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.tar.gz
> > </cargo.container.url>
> >         <cargo.host>localhost</cargo.host>
> >         <cargo.port>8090</cargo.port>
> >         <cargo.wait>false</cargo.wait>
> >
> > Error Information:
> > [INFO] [dbunit:operation {execution: test}]
> > [INFO] [war:war]
> > [INFO] Exploding webapp...
> > [INFO] Assembling webapp taw-webapp in
> > /xiuxiu/workspace/taw/web/target/taw- webapp-1.0-SNAPSHOT
> > [INFO] Copy webapp webResources to
> > /xiuxiu/workspace/taw/web/target/taw-webapp-1.0-SNAPSHOT
> > [INFO] Overlaying 2 war(s).
> > [INFO] Generating war
> > /xiuxiu/workspace/taw/web/target/taw-webapp-1.0-SNAPSHOT.war
> > [INFO] Building war:
> > /xiuxiu/workspace/taw/web/target/taw-webapp-1.0-SNAPSHOT.war
> > [INFO] [cargo:start {execution: start-container}]
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Dest must be a directory.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > in cargo code: Dest must be a directory.
> >         at
> > org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:117)
> >         at
> > org.codehaus.cargo.container.installer.ZipURLInstaller.unpack(
> ZipURLInstaller.java
> > :239)
> >         at
> > org.codehaus.cargo.container.installer.ZipURLInstaller.install(
> ZipURLInstaller.java:136)
> >         at
> > org.codehaus.cargo.maven2.configuration.Container.setupHome(
> Container.java:337)
> >         at
> > org.codehaus.cargo.maven2.configuration.Container.createContainer
> > (Container.java:221)
> >         at
> > org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer(
> AbstractCargoMojo.java:380)
> >         at
> > org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(
> AbstractCargoMojo.java
> > :320)
> >         at
> > org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(
> ContainerStartMojo.java:52)
> >         at
> > org.codehaus.cargo.maven2.AbstractCargoMojo.execute(
> AbstractCargoMojo.java:243)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > (DefaultPluginManager.java:443)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:539)
> >
> >
> > 2007/10/31, Michael Horwitz < [EMAIL PROTECTED]>:
> > >
> > > Could you provide some details as to the modifications you made to the
> > Tomcat configuration? It looks like something may have gone wrong there.
> > >
> > > Mike.
> > >
> > >
> > >
> > > On 10/31/07, 罗霄 <[EMAIL PROTECTED] > wrote:
> > > > Hi all,
> > > >
> > > > I just build my ubuntu 7.10 system. Jdk, eclipse, tomcat, apache,
> svn,
> > maven2 , mysql ....
> > > > It is so cute and I am too impatient to wait for developing my
> appfuse
> > on it.
> > > >
> > > > I downloaded the struts2 modular , modified the tomcat configuration
> and
> > mysql configuration, run the "mvn" in the project folder and the error
> > occurs.
> > > >
> > > > [INFO] [dbunit:operation {execution: test}]
> > > > [INFO] [war:war]
> > > > [INFO] Exploding webapp...
> > > > [INFO] Assembling webapp vpood-webapp in
> > C:\workspace\vpood\web\target\vpood-web
> > > > app-1.0-SNAPSHOT
> > > > [INFO] Copy webapp webResources to
> > C:\workspace\vpood\web\target\vpood-webapp-1.
> > > > 0-SNAPSHOT
> > > > [INFO] Overlaying 2 war(s).
> > > > [INFO] Generating war
> > C:\workspace\vpood\web\target\vpood-webapp-1.0-SNAPSHOT.wa
> > > > r
> > > > [INFO] Building war:
> > C:\workspace\vpood\web\target\vpood-webapp-1.0-SNAPSHOT.war
> > > >
> > > > [INFO] [cargo:start {execution: start-container}]
> > > > [INFO] in cargo code: Dest is not a directory.
> > > >
> > > >
> > > > I can't find any useful information from the google, so I have to
> ask
> > for help here.
> > > > Expect to your response. Thank you.
> > > >
> > > > xiuxiu
> > > >
> > >
> > >
> >
> >
>
>
> --
> http://raibledesigns.com
>

Reply via email to