How can I see jboss console with maven

半世苍凉 提交于 2019-12-06 07:25:39

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

I'm don't think that the jboss-maven-plugin redirects the logs anywhere so you'll find them in

$JBOSS_HOME/server/<your_server>/log

Just in case, note that cargo has support for this (here, I'm getting the console output in 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.: I really wonder why you don't start JBoss with the WTP from Eclipse by the way.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!