Salut,
first can you try adding in domain.xml:
-Dcom.sun.enterprise.server.ss.ASQuickStartup=false
and restart GF? Also, can you tell us the OS version you are using, the
GF version and attach you domain.xml?
glassfish_at_javadesktop.org wrote:
> Hi
>
> I have on server an apache with ssl certificat and glassfish. Apache redirect web service request (https) to glassfish (url rewriting).
Are you using mod_proxy?
>
> [i]./asadmin stop-domain domain1
> The domain (domain1) isn't running.
> [/i]
> AND
> [i]./asadmin start-domain domain1
> Starting Domain domain1, please wait.
> Log redirected to /usr/local/glassfish/domains/domain1/logs/server.log.
> Redirecting output to /usr/local/glassfish/domains/domain1/logs/server.log
> Domain domain1 failed to startup. There is a conflict on port 8080. Please check the server log for more details.
> CLI156 Could not start the domain domain1.
> [/i]
>
> For look process on 8080
> [i]netstat -ap | grep webcache| more
>
> tcp 0 0 *:webcache *:* LISTEN 17451/java
> tcp 0 0 localhost.localdom:webcache localhost.localdomain:38364 SYN_RECV -
> tcp 0 0 localhost.localdom:webcache localhost.localdomain:38136 SYN_RECV -
> tcp 0 0 localhost.localdom:webcache localhost.localdomain:38719 SYN_RECV -
> tcp 0 0 localhost.localdom:webcache localhost.localdomain:38502 SYN_RECV -
> tcp 0 0 localhost.localdom:webcache localhost.localdomain:38646 SYN_RECV -
> tcp 0 0 localhost.localdom:webcache localhost.localdomain:38622 SYN_RECV -
> tcp 1009 0 localhost.localdom:webcache localhost.localdomain:35615 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:41758 CLOSE_WAIT 17451/java
> tcp 1179 0 localhost.localdom:webcache localhost.localdomain:49694 CLOSE_WAIT -
> tcp 1092 0 localhost.localdom:webcache localhost.localdomain:47389 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:54300 CLOSE_WAIT -
> tcp 1009 0 localhost.localdom:webcache localhost.localdomain:36123 CLOSE_WAIT 17451/java
> tcp 1111 0 localhost.localdom:webcache localhost.localdomain:36379 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:37658 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:40730 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:33050 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:36634 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:45594 CLOSE_WAIT -
> tcp 1043 0 localhost.localdom:webcache localhost.localdomain:50714 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:37401 CLOSE_WAIT 17451/java
> tcp 1043 0 localhost.localdom:webcache localhost.localdomain:34073 CLOSE_WAIT 17451/java
> tcp 1111 0 localhost.localdom:webcache localhost.localdomain:44569 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:55321 CLOSE_WAIT -
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:52761 CLOSE_WAIT 17451/java
> tcp 1077 0 localhost.localdom:webcache localhost.localdomain:51737 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:60697 CLOSE_WAIT -
> tcp 0 1023 localhost.localdomain:38502 localhost.localdom:webcache ESTABLISHED 29384/httpd
> tcp 0 1023 localhost.localdomain:38622 localhost.localdom:webcache ESTABLISHED 29225/httpd
> tcp 0 1023 localhost.localdomain:38646 localhost.localdom:webcache ESTABLISHED 30800/httpd
> tcp 0 1023 localhost.localdomain:38719 localhost.localdom:webcache ESTABLISHED 29382/httpd
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:59831 CLOSE_WAIT -
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:56759 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:55223 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:35766 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:54710 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:45749 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:39605 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:58804 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:55220 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:45490 CLOSE_WAIT 17451/java
> tcp 1077 0 localhost.localdom:webcache localhost.localdomain:33202 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:58802 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:59314 CLOSE_WAIT 17451/java
> tcp 1009 0 localhost.localdom:webcache localhost.localdomain:44209 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:57521 CLOSE_WAIT 17451/java
> tcp 1077 0 localhost.localdom:webcache localhost.localdomain:52913 CLOSE_WAIT 17451/java
> tcp 1043 0 localhost.localdom:webcache localhost.localdomain:48816 CLOSE_WAIT 17451/java
> tcp 1179 0 localhost.localdom:webcache localhost.localdomain:34480 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:53168 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:38319 CLOSE_WAIT 17451/java
> tcp 1009 0 localhost.localdom:webcache localhost.localdomain:34222 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:40110 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:58286 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:60846 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:56750 CLOSE_WAIT -
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:37037 CLOSE_WAIT 17451/java
> tcp 1058 0 localhost.localdom:webcache localhost.localdomain:58285 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:49068 CLOSE_WAIT -
> tcp 1077 0 localhost.localdom:webcache localhost.localdomain:56236 CLOSE_WAIT 17451/java
> tcp 1024 0 localhost.localdom:webcache localhost.localdomain:39595 CLOSE_WAIT 17451/java
> tcp 1009 0 localhost.localdom:webcache localhost.localdomain:50091 CLOSE_WAIT 17451/java
> tcp 1043 0 localhost.localdom:webcache localhost.localdomain:54187 CLOSE_WAIT 17451/java
> tcp 1179 0 localhost.localdom:webcache localhost.localdomain:46250 CLOSE_WAIT 17451/java
> tcp 1092 0 localhost.localdom:webcache localhost.localdomain:48810 CLOSE_WAIT -
> ......................
That doesn't look good. The CLOSE_WAIT usually means a file descriptor
leaks or a JDK issue.
> [/i]
> they are many CLOSE_WAIT from 17451 (glassfish process)
> And when i look all of glassfish process, I count 50 process
> [i]ps -ef | grep glass
> root 17514 1 0 Jul03 ? 00:00:04 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17517 17514 0 Jul03 ? 00:00:06 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17518 17517 0 Jul03 ? 00:00:46 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17519 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17520 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17522 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17523 17517 0 Jul03 ? 00:00:02 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17524 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17525 17517 0 Jul03 ? 00:04:30 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17529 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17530 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17531 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> root 17532 17517 0 Jul03 ? 00:00:00 /usr/java/jdk1.5.0_14/jre/../bin/java -Dcom.sun.aas.instanceRoot=/usr/local/glassfish/domains/domain1 -Dcom.sun.aas.ClassPathPrefix= -Dcom.sun.aas.ClassPathSuffix= -Dcom.sun.aas.ServerClassPath= -Dcom.sun.aas.classloader.appserverChainJars.ee= -Dcom.sun.aas.classloader.ap
> ..........
hum...you should not have so many GF instance IMO. Are you using one
than more instance?
Thanks
-- Jeanfrancois
> [/i]
> [Message sent by forum member 'mickaelguilbert' (mickaelguilbert)]
>
> http://forums.java.net/jive/thread.jspa?messageID=316257
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>