How can I see jboss console with maven

I started the jboss-5.1.0.GA server with maven2, is there any chance that I can see what is happening in the console. I am using the Eclipse plugin to run Maven. Can I see the console in an eclipse or elsewhere?

Here is what I mean by the console:

alt text

Is it possible to see this conclusion somewhere? I took this screen shot when manually starting jboss.

When I start the server with Maven, this is what I get:

[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[snrf] in [C:\HOME\c0mrade\Workspaces\Eclipse 3.5 Classic\snrf\target\0.0.1-SNAPSHOT]
[INFO] Processing war project
[INFO] Webapp assembled in[337 msecs]
[INFO] Building war: C:\HOME\c0mrade\Workspaces\Eclipse 3.5 Classic\snrf\target\0.0.1-SNAPSHOT.war
[INFO] [jboss:hard-deploy]
[INFO] Copying C:\HOME\c0mrade\Workspaces\Eclipse 3.5 Classic\snrf\target\0.0.1-SNAPSHOT.war to C:\jboss-5.1.0.GA\server\default\deploy\0.0.1-SNAPSHOT.war
[INFO] [jboss:start]
[INFO] Starting JBoss...
[INFO] [install:install]
[INFO] Installing C:\HOME\c0mrade\Workspaces\Eclipse 3.5 Classic\snrf\target\0.0.1-SNAPSHOT.war to C:\HOME\c0mrade\.m2\repository\org\trialofmaven\0.0.1-SNAPSHOT\0.0.1-SNAPSHOT.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------

And it's all. Nothing happens..

thanks

+2
source share
1 answer

Is it possible to see this exit somewhere? I took this snapshot when manually starting jboss.

I don't think jboss-maven-plugin redirects logs anywhere, so you will find them in

$JBOSS_HOME/server/<your_server>/log

, , ( cargo.log):

<plugin>    
  <groupId>org.codehaus.cargo</groupId>    
  <artifactId>cargo-maven2-plugin</artifactId>    
  <version>1.0</version>    
  <configuration>    
    <container>    
      <containerId>jboss5x</containerId>    
      <home>${jboss.home}</home>    
      <append>false</append>    
      <log>${basedir}/target/jboss5.x.logs/cargo.log</log>    
      <timeout>300000</timeout> <!-- 5 minutes -->    
    </container>    
    <configuration>    
      <type>existing</type>    
      <home>${jboss.home}/server/default</home>    
      <properties>    
        <cargo.jboss.configuration>default</cargo.jboss.configuration>    
        <cargo.rmi.port>1099</cargo.rmi.port>    
        <cargo.logging>high</cargo.logging>    
      </properties>    
    </configuration>    
    <wait>false</wait>    
  </configuration>    
  ...
</plugin>

P.S.: , JBoss WTP Eclipse, .

+1

All Articles