On Friday 21 March 2003 2:32 pm, Nicholas wrote:
> We are building a continuous integration system and
> while the system emails us if there are any failures
> on compile , build or deployment, we were not being
> notified if an EJB failed to deploy in JBoss.
I built a similar system here. I just have a perl program start jboss and fork
to watch STDOUT and STDERR. I just the following routines on each line of
output to match errors. (JBoss 2.4.4)
# pattern test subroutines
sub isError($) { $_ = shift; /^\[ERROR/ || /^\s*at\s\S/ ||
/^(\w*?\.?)+Exception:/ || /^([0-9]+:?)+,[0-9]+ ERROR/; }
sub isStarted($) { $_ = shift; /^(?:\[INFO,Default\])?\s?\S+ Started in
[0-9]+\S+/; }
sub isTestStart($) { $_ = shift; /^TEST START:/; }
sub isTestEnd($) { $_ = shift; /^TEST END:/; }
sub isShutdown($) { $_ = shift; /^Shutdown complete/; }
--Ian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ian Duggan [EMAIL PROTECTED] http://www.demandtec.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DemandTec, Inc.
1 Circle Star Way Suite 200
San Carlos, CA 94070
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user