There is a bug on this, I will soon fix it.
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5910
Survivant 00 wrote:
> I think that I found the problem. On JF Arcand blog
> (http://weblogs.java.net/blog/jfarcand/archive/2008/08/fronting_glassf.html)..
> there is this
>
> |<http-listener default-virtual-server="server" family="inet"
> security-enabled="false" enabled="true" server-name=""
> address="0.0.0.0 <http://0.0.0.0>" acceptor-threads="1" port="8009" id="*jk-connector*"
>
> xpowered-by="true" blocking-enabled="false" />|
>
>
> but if I use the command line :
>
> asadmin create-http-listener --listeneraddress 0.0.0.0 <http://0.0.0.0/>
> --listenerport 8009 --defaultvs server jdk-connector
>
> it create THIS line in domain.xml
>
> <http-listener id="jdk-connector" port="8009" xpowered-by="true"
> enabled="true" address="0.0.0.0 <http://0.0.0.0>"
> security-enabled="false" default-virtual-server="server"
> blocking-enabled="false" />
>
> instead of
> <http-listener id="jk-connector" port="8009" xpowered-by="true"
> enabled="true" address="0.0.0.0 <http://0.0.0.0>"
> security-enabled="false" family="inet" default-virtual-server="server"
> server-name="" blocking-enabled="false" acceptor-threads="1" />
>
>
>
>
> 2008/9/12 Sankar Neelakandan <Sankar.Neelakandan_at_sun.com
> <mailto:Sankar.Neelakandan_at_sun.com>>
>
> Hi Survivant,
>
>
> #5 I add the line in the domains.xml and still unable to do a
> telnet on the port 8009
> <http-listener id="jk-connector" port="8009" xpowered-by="true"
> enabled="true" address="0.0.0.0 <http://0.0.0.0>"
> security-enabled="false" family="inet"
> default-virtual-server="server" server-name=""
> blocking-enabled="false" acceptor-threads="1" />
>
> Do you edit the domain.xml to add the listener. You can do it by
> using the command
>
> C:\glassfishv3-prelude\glassfish\bin>asadmin create-http-listener
> --listeneraddress 0.0.0.0 <http://0.0.0.0> --listenerport 8009
> --defaultvs server jdk-connector
>
> Command create-http-listener executed successfully.
>
> C:\glassfishv3-prelude\glassfish\bin>netstat -a | grep 8009
> TCP iwork:8009 iwork:0 LISTENING
>
>
> I can do telnet to the listener and access the URI.
>
> -Sankar
>
>
>
> Judy Tang wrote:
>> Hi Survivant,
>>
>> Your input is very valuable. I will work with you to go through
>> your bug list to prioritize them and then
>> help to follow up with developer. Since we have many bugs to fix,
>> thanks for your patient and support :-)
>>
>> For your question #1 to #5, will get back to you soon to let you
>> know either file bug or let you know existing
>> bug id so you can add your comments to it.
>>
>> Thanks so much for testing b24 !
>> Judy
>>
>> Survivant 00 wrote:
>>> first.. the bugs that I repoted are not fixed yet.
>>>
>>> #1
>>> here the Locale problem
>>>
>>> C:\Temp\glassfish-v3-prelude-b24\glassfishv3-prelude\bin>asadmin
>>> start-domains -
>>> v
>>> Remote server does not listen for requests on [localhost:4á848].
>>> Is the server up?
>>> Unable to get remote commands.
>>> Closest matching local command(s):
>>> start-domain
>>> Command start-domains failed.
>>> C:\Temp\glassfish-v3-prelude-b24\glassfishv3-prelude\bin>asadmin
>>> start-domain -v
>>>
>>>
>>> #2 I logged into the console with anonymous.. The welcome page
>>> in the right panel is blank.. still waiting after 2 min.
>>>
>>> #3 - The javascript errors are still in the console.
>>>
>>> #4 - restart the server and log into http://localhost:8080 and
>>> click on the administration link -> http://localhost:4848 and
>>> got this error
>>>
>>> 2008-09-12 08:54:23 org.glassfish.api.ActionReport failure
>>> GRAVE: Exception while deploying the app
>>> java.lang.NullPointerException
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLoaderService$2.getMetaData(A
>>> pplicationLoaderService.java:352)
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos
>>> (ApplicationLifecycle.java:381)
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
>>> ifecycle.java:191)
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLoaderService.processApplicat
>>> ion(ApplicationLoaderService.java:260)
>>> at
>>> com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThr
>>> ead.java:295)
>>> at
>>> com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThre
>>> ad.java:105)
>>> 2008-09-12 08:54:23
>>> com.sun.enterprise.v3.server.ApplicationLoaderService proces
>>> sApplication
>>> GRAVE: Exception while deploying the app :
>>> java.lang.NullPointerException
>>>
>>>
>>> #5 I add the line in the domains.xml and still unable to do a
>>> telnet on the port 8009
>>> <http-listener id="jk-connector" port="8009" xpowered-by="true"
>>> enabled="true" address="0.0.0.0 <http://0.0.0.0>"
>>> security-enabled="false" family="inet"
>>> default-virtual-server="server" server-name=""
>>> blocking-enabled="false" acceptor-threads="1" />
>>>
>>>
>>>
>>>
>>> 2008/9/11 Judy Tang <Judy.J.Tang_at_sun.com
>>> <mailto:Judy.J.Tang_at_sun.com>>
>>>
>>> Hi All,
>>>
>>> b24 got promoted, please run your tests on b24.
>>>
>>> *Where to get build:*
>>> Installer Bundles:
>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-prelude-b24-unix.sh
>>>
>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-prelude-b24-windows.exe
>>>
>>> http://download.java.net/glassfish/v3/promoted/glassfish-v3-prelude-b24.zip
>>>
>>>
>>> *How to find open bugs:*
>>> This is open V3 bug query
>>> <https://glassfish.dev.java.net/issues/reports.cgi?state=Open+issues&issue_type=DEFECT&containing=gfv3-prelude-include&type=natural+language+search&x=Subcomponent&y=Priority>
>>>
>>> *Where to look for answer:*
>>> FishCAT FAQ
>>> <http://wiki.glassfish.java.net/Wiki.jsp?page=FishCATFAQ>
>>>
>>> Thanks,
>>> Judy
>>>
>>>
>>
>