users@glassfish.java.net

Re: Glassfish starts, binds to ports but does not respond

From: Chris Fleischmann <Chris.Fleischmann_at_Sun.COM>
Date: Tue, 20 May 2008 22:33:51 +1000

Hrm.... ok, to increase the worker threads and to get Grizzly working at
its best, you could try the recommendations here:
http://weblogs.java.net/blog/jfarcand/archive/2007/03/configuring_gri_2.html

Interesting, I see the following error in your server.log file:

[#|2008-05-20T07:16:18.145-0400|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_LB1101:
Looking for Broker Running at:localhost:7721|#]

[#|2008-05-20T07:16:18.214-0400|WARNING|sun-appserver9.1|javax.jms|_ThreadID=10;_ThreadName=main;_RequestID=ef189062-eb39-4ba3-a080-2a08d7e3d6f4;|[C4003]:
Error occurred on connection creation [localhost:7721]. - cause:
java.net.ConnectException: Connection refused|#]

A couple of quick questions, can you let me know the output of:

ping localhost

Contents of /etc/hosts file;

Results of: "netstat -rn", "hostname"

Is your JMS Broker actually running on port 7721?

-----

Cheers,

Chris



glassfish_at_javadesktop.org wrote:
> Here are the files. As you can see, I ran glassfish with a PermGen size of 256M and observed the same results. I ran jstack and it appeared that the threads were all in a state of TIMED_WAITING, WAITING or RUNNABLE and I still could not connect.
>
> Since I cannot connect to the admin web page, is there a way to increase the number of HTTP/HTTPS threads so that I can see if that will get me to at least connect to the server?
>
> Thanks again!
> [Message sent by forum member 'elihusmails' (elihusmails)]
>
> http://forums.java.net/jive/thread.jspa?messageID=275448
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>