-
1. Re: trouble getting quickstarts to run
beve Jun 5, 2008 2:12 AM (in response to hcurtis)Hi,
did you simply run the run.bat script with no arguments or did you specify a bind address with the '-b' flag?
Do you have a firewall running?
Regards,
/Daniel -
2. Re: trouble getting quickstarts to run
hcurtis Jun 5, 2008 7:52 AM (in response to hcurtis)I simply ran run.bat with no parameters. And, I specifically disabled my firewall.
I have found other topics in this forum about this error that I'm experiencing and tried the following suggestion :
In jboss-esb.xml, I added jndi-URL="jnp://localhost:1099" in the <jms-provider> tag.
Any suggestions you have would be greatly appreciated! -
3. Re: trouble getting quickstarts to run
kconner Jun 5, 2008 8:35 AM (in response to hcurtis)The ConnectionRefused tells us that the service is not accessible on the localhost interface. The reasons for this could be as follows
The service is not running
The service is blocked by a firewall
The service is bound to a different interface or port
It appears that there is no firewall configured and, assuming that the service is running, that leaves the last option.
The first thing you need to check is whether you actually have a loopback interface or not as I believe windows doesn't always include one.ipconfig /a
The second is to see whether you have something running on port 1099.netstat -an
The above commands should show you the interfaces and open ports on your system, can you check those to see if everything is in order?
You could also try the following as a direct test of that porttelnet localhost 1099
-
4. Re: trouble getting quickstarts to run
hcurtis Jun 5, 2008 9:15 AM (in response to hcurtis)I did not have a loopback interface, however, I just installed the Microsoft Loopback Adaptor and verified its installation using ipconfig /all
The output from netstat -an indicated that port 1099 is not in use
telnet localhost 1099 fails with the message
Connecting To localhost...Could not open connection to the host, on port 1099: Connect failed
Running run.bat in the bin directory is what starts the standalone ESB server right? When I run it, it's quite quick and comes right back to the command prompt. -
5. Re: trouble getting quickstarts to run
kconner Jun 5, 2008 11:40 AM (in response to hcurtis)run.bat will run the server and bring up the service listening on port 1099. You should try the telnet once the server is running.
It looks as if the original issue was the missing loopback adapter, what happens if you now run the server and try the quickstarts? -
6. Re: trouble getting quickstarts to run
hcurtis Jun 5, 2008 12:22 PM (in response to hcurtis)I don't think the server is starting up properly. When I execute run.bat in the bin directory, I am almost immediately returned to the command prompt. If the server was truely being started, I would have expected not to be returned to the command prompt.
After executing run.bat (after setting up the loopback adaptor) telnet localhost 1099 still failed. -
7. Re: trouble getting quickstarts to run
burrsutter Jun 5, 2008 1:59 PM (in response to hcurtis)an easy test to see if the server is up and running:
using a browser to hit http://localhost:8080
then the jmx-console/web-console and look for the ESB related services/MBeans.
That is always my first test to see if my server is "up" then I try the helloworld quickstart. -
8. Re: trouble getting quickstarts to run
kconner Jun 6, 2008 4:10 AM (in response to hcurtis)"hcurtis" wrote:
I don't think the server is starting up properly. When I execute run.bat in the bin directory, I am almost immediately returned to the command prompt. If the server was truely being started, I would have expected not to be returned to the command prompt.
I would not have expected you to have been returned to the command prompt, you should have seen a lot of console output as the server started.
Which version of java are you using? What do you get when you executejava -version
Another thing to try would be to enable the echo for the bat file. My windows is rusty but I believe all that is required is to edit the run.bat and change the first line to the followingrem @echo off
The telnet command will work if the server is running. -
9. Re: trouble getting quickstarts to run
hcurtis Jun 18, 2008 11:20 AM (in response to hcurtis)just to close the loop on this ....
the problem was with the JAVA_HOME setting which included the bin directory. One the bin directory was removed from the env var, the server started right up and the quickstarts were successfully executed. -
10. Re: trouble getting quickstarts to run
kconner Jun 19, 2008 11:08 AM (in response to hcurtis)Okay, that makes sense. Presumably the bat script could not find the java executable in that case.