[
http://jira.codehaus.org/browse/MJBOSS-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227281#action_227281
]
Jan Ypma commented on MJBOSS-49:
--------------------------------
Index: AbstractJBossServerMojo.java
===================================================================
--- AbstractJBossServerMojo.java (revision 12363)
+++ AbstractJBossServerMojo.java (working copy)
@@ -121,6 +121,8 @@
{ "sh", "-c", "cd " + jbossHome + "/bin; export
JBOSS_HOME=\""
+ jbossHome + "\"; ./" + commandName + ".sh " + " " +
params };
proc = runtime.exec( command );
+ dump( proc.getInputStream() );
+ dump( proc.getErrorStream() );
}
}
> Console buffer isn't flushed on linux, preventing Jboss SOA-P startup
> ---------------------------------------------------------------------
>
> Key: MJBOSS-49
> URL: http://jira.codehaus.org/browse/MJBOSS-49
> Project: Maven 2.x JBoss Plugin
> Issue Type: Bug
> Affects Versions: 1.4.0, 1.4.1, 1.5.0
> Environment: Fedora 13 x86_64, OpenJDK 1.6.0_18
> Reporter: Jan Ypma
>
> See AbstractJBossServerMojo.java.
> When the OS is not Windows, JBoss is started as a Process without calling
> dump() on it's output streams. This means that when JBoss has logged ??
> kbytes to the console, the process will PAUSE until someone flushes that
> buffer (which doesn't happen).
> Effectively, this means that JBoss SOA-P 5.0.1 will pause halfway when trying
> to run it through jboss-maven-plugin.
> Fix: copy line 115-116 and insert after line 123.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email