Check if your JAVA_HOME is set properly(should be pointing to your installed JDK on your system) . Try echoing JAVA_HOME value while executing standalone.bat.
Check if your port 8080 is free or not.
My port 8080 is free and JAVA_HOME is correctly set up (/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home) and yet I have the exact same error.
This sounds as a generic AS7 Question. did you try running a fresh install of the AS alone? with none application deployed in it?
I'm dragging this thread up again because I'm also getting the same error and despite thorough searching I haven't found a valid answer for this problem.
$ netstat -an | grep LISTEN | grep -v LISTENING
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN -
$ java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
$ echo $JAVA_HOME
Starting AS7 on it's own does not throw any errors. I'm trying to start the demo using:
ant -f build.xml start.demo.noeclipse
Which throws the following error when trying to login to the console as admin:
Exception: 'class com.google.gwt.http.client.RequestException'
org.jboss.resteasy.spi.UnhandledException: java.lang.IllegalArgumentException: Could not connect task client
I'm assuming the task client is failing because that follows AS7 in the demo startup script.
[echo] Checking h2 download ...
/u01/app/jbpm/build.xml:531: The following error occurred while executing this line:
/u01/app/jbpm/build.xml:555: JBoss AS7 did not start within 5 minutes
Total time: 5 minutes 0 seconds
Any help is appreciated.
Hopefully this helps others.
1. Before installing (ant install.demo.noeclipse), modify $JBPM_HOME/build.xml file with the ports you'd like JBoss to run on.
2. Ensure all environment variables are set properly and directories exist before trying to start.
3. Reinstall jbpm with ant clean.demo; ant install.demo.noeclipse. NOTE: this removes the entire jboss sub-directory, so any modifications you've made will be removed.
in case you didn't solve your problem yet - can you post result of verbose ant? Try:
ant -v start.demo
I had a similar problem, in my case ant build was stuck at "Checking for listener at localhost:8080", repeated several times. Then I realized: I have JAVA_HOME variable set to Java 1.7, so I switched to 1.6 and it worked! Detailed steps for Mac OS X: have your JAVA_HOME variable set to output of:
In my case, that was:
and finally: ant start.demo
Hope some of it helps.
try setting your JAVA_HOME to:
I know the symlinked /System/Library/Frameworks/... should work but I tried both versions and only one of them did. Which output does:
might be related to issue https://issues.jboss.org/browse/JBAS-6981