users@glassfish.java.net

JK Listener port not opened when started from Netbeans 7

From: <forums_at_java.net>
Date: Fri, 24 Jun 2011 02:30:39 -0500 (CDT)

Hi,

I have a weird behaviour with the Jk Listener:

- when I start GF 3.1 with the command line "asadmin --port 8048
start-domain jscoobyced", everything (as far as I can see) is working fine,
and port 8009 listening to AJP calls

- when I start GF through NetBeans 7.0, things starts as expected (see log
below) but port 8009 is dead closed and the AJP redirect fails.

I am a bit stuck as to where to look. I checked Netbeans logs and see
nothing. I know it looks like a NetBeans issue and I am posting to the
NetBeans forum, but in case any folks here have met this that would be
helpful.

Netbeans log when starting Glassfish:

----------------------------------------------------------------------------------------------------------
Launching GlassFish on Felix platform
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
for persistence-type = replicated in BackingStoreFactoryRegistry
INFO: Grizzly Framework 1.9.31 started in: 67ms - bound to [0.0.0.0:8048]
INFO: Grizzly Framework 1.9.31 started in: 44ms - bound to [0.0.0.0:8037]
INFO: Grizzly Framework 1.9.31 started in: 135ms - bound to [0.0.0.0:8080]
INFO: Grizzly Framework 1.9.31 started in: 32ms - bound to [0.0.0.0:8076]
INFO: Grizzly Framework 1.9.31 started in: 117ms - bound to [0.0.0.0:8081]
INFO: The Admin Console is already installed, but not yet loaded.
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port
[0.0.0.0:8081]
INFO: WEB0169: Created HTTP listener [admin-listener] on host/port
[0.0.0.0:8048]
WARNING: WEB0343: JK properties file
/home/jscoobyced/Apps/glassfish-3.1/glassfish/domains/jscoobyced/config/glassfish-jk.properties
does not exist
INFO: WEB0170: Apache mod_jk/jk2 attached to virtual-server [server] 
listening on port [8,010]
INFO: WEB0171: Created virtual server [server]
INFO: WEB0171: Created virtual server [__asadmin]
INFO: WEB0172: Virtual server [server] loaded default web module []
INFO: JK: ajp13 listening on /0.0.0.0:8010
INFO: Jk running ID=0 time=0/30  config=null
INFO: core.start_container_done
INFO: GlassFish Server Open Source Edition 3.1 (43) startup time : Felix
(2,653ms), startup services(3,708ms), total(6,361ms)
INFO: JMXStartupService: Started JMXConnector, JMXService URL =
service:jmx:rmi://cedric:8086/jndi/rmi://cedric:8086/jmxrmi
INFO: Hibernate Validator 4.1.0.Final
INFO: Instantiated an instance of
org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: Grizzly Framework 1.9.31 started in: 17ms - bound to [0.0.0.0:8080]
INFO: WEB0169: Created HTTP listener [jkListener] on host/port [0.0.0.0:8010]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port
[0.0.0.0:8081]
INFO: Grizzly Framework 1.9.31 started in: 14ms - bound to [0.0.0.0:8081]
----------------------------------------------------------------------------------------------------------

 

Thanks


--
[Message sent by forum member 'jscoobyced']
View Post: http://forums.java.net/node/815532