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
> > > ---
> > >
> >
>

Reply via email to