Hi,

all seems ok...

1) please give the console error...

2) did u try to uncomment

  <location>$\{project.build.directory\
}/$\{project.build.finalName\}.$\{project.packaging\}</location>

specifying the parameters needed?

Regards
Daniele

On 10/25/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> Well, this seems harder than I thought.
> I have a dev machine with JBoss 4.2.1.GA installed and configured already
> at
> c:/jboss-4.2.1.GA/ and I use this plugin:
>
>                 <plugin>
>                     <groupId>org.codehaus.cargo</groupId>
>                     <artifactId>cargo-maven2-plugin</artifactId>
>                     <version>0.3-SNAPSHOT</version>
>
>                     <configuration>
>
>                         <!-- Container configuration -->
>                         <container>
>                             <containerId>jboss4x</containerId>
>                             <home>C:/jboss-4.2.1.GA</home>
>                             <output>${project.build.directory
> }/cargo/output.log</output>
>                             <append>false</append>
>                             <log>${project.build.directory
> }/cargo/server.log</log>
>                         </container>
>
>                         <deployables>
>                             <deployable>
>                                 <groupId>com.baselogic.yoursos</groupId>
>                                 <artifactId>ear</artifactId>
>                                 <!--<location>$\{project.build.directory\
> }/$\{project.build.finalName\}.$\{project.packaging\}</location>-->
>                                 <pingURL>
> http://localhost:8080/yoursos/index.html</pingURL>
>                             </deployable>
>                         </deployables>
>
>                     </configuration>
>
>
>
> But cargo can't start up the container is the error I get, and it keeps
> trying to create "C:\temp\baselogic\yoursos\target\jboss4x\**" in what
> looks
> like the exact DIR structure that my installed server has.
>
> Can you shed some light as to how to hook into an existing local
> installation of JBoss 4x just to deploy my ear? I think I have gone
> through
> all the docs on the cargo site with no luck so far.
>
>
> On 10/25/07, Daniele De Francesco <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I'm sorry for replying so shortly, but you could see i.e.
> >
> >
> >
> http://www.nabble.com/JBoss-Remote-Deployment-workaround-for-HTTP-500-error-t3607694.html
> >
> > just for the pom....
> >
> > Besides of course,  you could refer to
> >
> > http://cargo.codehaus.org/JBoss+4.x
> >
> >
> > Just google a little... ;-)
> >
> > Regards
> >
> > Daniele
> >
> > On 10/25/07, Catalin Croitoru <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > do you have a pom example for starting an existing jboss 4.2.0 with
> > cargo?
> > >
> > > Thanks,
> > >
> > > Catalin
> > >
> > > On 10/25/07, Daniele De Francesco <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > > try using maven cargo plugin instead of the maven-jboss-plugin....
> > > >
> > > > *http://cargo*.codehaus.org/*Maven*2+*plugin*
> > > >
> > > > and for a necessary download and overview about what cargo is...
> > > surprise
> > > > surprise :)
> > > >
> > > > *http://cargo*.codehaus.org
> > > >
> > > > let me know...
> > > >
> > > > Daniele
> > > >
> > > > On 10/23/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > btw, if I start jboss manually, then run the build, the
> application
> > > gets
> > > > > deployed fine.
> > > > >
> > > > > On 10/23/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > I have the following declaration for jboss:
> > > > > >
> > > > > >             <plugin>
> > > > > >                 <groupId>org.codehaus.mojo</groupId>
> > > > > >                 <artifactId>jboss-maven-plugin</artifactId>
> > > > > >                 <configuration>
> > > > > >                     <jbossHome>${env.JBOSS_HOME}</jbossHome>
> > > > > >                     <port>8080</port>
> > > > > >                 </configuration>
> > > > > >                 <executions>
> > > > > >                     <execution>
> > > > > >                         <id>start-server</id>
> > > > > >                         <phase>compile</phase>
> > > > > >                         <goals>
> > > > > >                             <goal>start</goal>
> > > > > >                         </goals>
> > > > > >                     </execution>
> > > > > >                     <execution>
> > > > > >                         <id>deploy-to-server</id>
> > > > > >                         <phase>package</phase>
> > > > > >                         <goals>
> > > > > >                             <goal>deploy</goal>
> > > > > >                         </goals>
> > > > > >                     </execution>
> > > > > >                 </executions>
> > > > > >             </plugin>
> > > > > >
> > > > > >
> > > > > >
> > > > > > I seem to get a note saying it is starting:
> > > > > >
> > > > > > [INFO] [jboss:start {execution: start-server}]
> > > > > > [INFO] Starting JBoss...
> > > > > > [INFO] [ear:ear]
> > > > > >
> > > > > >
> > > > > > but when I go to deploy after packaging, I still get a
> connection
> > > > > refused:
> > > > > >
> > > > > >
> > > > > >
> > > > > > [INFO] Building jar: C:\opt\baselogic\yoursos\ear\target\ear-
> > > > > > 1.0-SNAPSHOT.ear
> > > > > > [INFO] [jboss:deploy {execution: deploy-to-server}]
> > > > > > [INFO] Deploying C:\opt\baselogic\yoursos\ear\target/ear-
> > > > > 1.0-SNAPSHOT.earto JBoss.
> > > > > > [INFO] No server specified for authentication - using defaults
> > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > [ERROR] BUILD ERROR
> > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > [INFO] Mojo error occurred: Server returned HTTP response code:
> > 500
> > > > for
> > > > > > URL:
> > > > >
> > > >
> > >
> >
> http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=file:C:\opt\baselogic\yoursos\ear\target/ear-1.0-SNAPSHOT.ear
> > > > > >
> > > > > > [INFO]
> > > > > >
> > > >
> > ------------------------------------------------------------------------
> > > > > > [INFO] Trace
> > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Mojo
> error
> > > > > > occurred: Server returned HTTP response code: 500 for URL:
> > > > > > http://localhost:8080/jm
> > > > > > x-console/HtmlAdaptor?action=invokeOpByName&name=
> > > > > >
> > > > >
> > > >
> > >
> >
> jboss.system:service%3DMainDeployer&methodName=deploy&argType=java.net.URL&arg0=file:C:\opt\baselogic
> > > > > > \yoursos\ear\target/ear-1.0-SNAPSHOT.ear
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > is there something I am missing?
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > >
> > > > > > Thanks,
> > > > > > Mick Knutson
> > > > > >
> > > > > > http://www.baselogic.com
> > > > > > http://www.blincmagazine.com
> > > > > > http://www.djmick.com
> > > > > > http://www.myspace.com/mickknutson
> > > > > > http://www.myspace.com/djmick_dot_com
> > > > > > http://www.myspace.com/sexybeotches
> > > > > > http://www.thumpradio.com
> > > > > > ---
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > Thanks,
> > > > > Mick Knutson
> > > > >
> > > > > http://www.baselogic.com
> > > > > http://www.blincmagazine.com
> > > > > http://www.djmick.com
> > > > > http://www.myspace.com/mickknutson
> > > > > http://www.myspace.com/djmick_dot_com
> > > > > http://www.myspace.com/sexybeotches
> > > > > http://www.thumpradio.com
> > > > > ---
> > > > >
> > > >
> > >
> >
>
>
>
> --
>
> Thanks,
> Mick Knutson
>
> http://www.baselogic.com
> http://www.blincmagazine.com
> http://www.djmick.com
> http://www.myspace.com/mickknutson
> http://www.myspace.com/djmick_dot_com
> http://www.myspace.com/sexybeotches
> http://www.thumpradio.com
> ---
>

Reply via email to