On 03/15/2011 10:57 AM, Asmann, Roland wrote:
> Hi all,
>
> I am having some issues with the jboss-maven-plugin. I have configured
> an integration-test that uses the plugin to start a JBoss. Now the thing
> here is that on Windows, it works perfectly.
> On my Hudson machine (Linux) however, the server is not being started. I
> tried another Linux machine, just to make sure and there is *does* work!
> Is there any way I can find out what the problem is?
>
> Running my build with debug-output, I only get this:
>
> [DEBUG] Configuring mojo
> 'org.codehaus.mojo:jboss-maven-plugin:1.5.0:start-and-wait' -->
> [DEBUG] (f) hostName = localhost
> [DEBUG] (f) jbossHome =
> /home/buildmgr/.hudson/jobs/bere31-testmodule/workspace/bere3.1-testmodule/target/dependency/jboss-be
> [DEBUG] (f) namingPort = 1199
> [DEBUG] (f) retry = 10
> [DEBUG] (f) retryWait = 100000
> [DEBUG] (f) serverName = default
> [DEBUG] (f) timeout = 20000000
> [DEBUG] -- end configuration --
> [INFO] [jboss:start-and-wait {execution: start-be}]
> [INFO] Starting JBoss...
> [DEBUG] Using JBOSS_HOME:
> /home/buildmgr/.hudson/jobs/bere31-testmodule/workspace/bere3.1-testmodule/target/dependency/jboss-be
> [DEBUG] Executing JBoss command:
> /home/buildmgr/.hudson/jobs/bere31-testmodule/workspace/bere3.1-testmodule/target/dependency/jboss-be/bin/run.sh
>
>
> [INFO] Waiting to retrieve JBoss JMX MBean connection...
>
> And after retrying 10 times, it just quits.
>
> Watching in the console, I don't see java being started, so something
> tells me that the execution of the run.sh file isn't working properly.
> Of course I made sure that this file is executable, so that is not the
> problem here.
>
> Any hints and tips would be greatly appreciated!
>
Can you try using the JBOSS_HOME and running directly the run.sh command
given in the debug output? That might give you some more details.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email