Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@1509 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Feb 13, 2009
1 parent 719dc17 commit 1ef39b0
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -148,16 +148,12 @@ public void setup() throws IOException
// If we got this far something went wrong
log.warn("Unable to connect to JBoss after " + bootTimeout + "ms, giving up!");
launch(jbossHome, "shutdown", "-S");
throw new IllegalStateException("Error connecting to JBoss AS at " + jbossHttpUrl);
}
else
{
return;
}
// After trying to start automatically, try the connection again
if (!checkJBossUp())
{
throw new IllegalStateException("Error connecting to JBoss AS at " + jbossHttpUrl);
}
}

public void cleanup() throws IOException
Expand Down

0 comments on commit 1ef39b0

Please sign in to comment.