incubator-wave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank R." <renfeng...@gmail.com>
Subject Re: Setting up Wave for client development (my experience setting up on WindowsXP)
Date Sun, 22 Dec 2013 14:27:10 GMT
I attached to 8001, and stepped through
org.waveprotocol.box.webclient.client.WebClient.onModuleLoad(). I just
verified you can have Java class hot deployment by edit-and-save.

Here is how you can do the same, EclipseZone - Remote Debugging with
Eclipse ... <http://www.eclipsezone.com/eclipse/forums/t53459.html#eclipse>



On Fri, Dec 20, 2013 at 9:19 AM, Frank R. <renfeng.cn@gmail.com> wrote:

> What's the port for? Can I attach eclipse debug a gwt hosted server
> (started with ant hosted-gwt) by that port? Thanks.
>
>
> On Fri, Dec 20, 2013 at 8:08 AM, Ali Lown <ali@lown.me.uk> wrote:
>
>> The purpose of
>>
>> "<jvmarg
>> value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8001"/>"
>> is adding support for using a remote debugger.
>>
>> It setups up the JDB client at localhost:8001, so you can then attach
>> JDB at will.
>>
>> (See:
>> http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=%2Fcom.ibm.java.doc.user.aix64.60%2Fuser%2Fjdb.html
>> )
>>
>> Ali
>>
>> On 20 December 2013 00:04, Thomas Wrobel <darkflame@gmail.com> wrote:
>> > Dunno. the "address=" field specifys it, dunno what it refers too.
>>
>> >
>> > ~~~
>> > Thomas & Bertines online review show:
>> > http://randomreviewshow.com/index.html
>> > Try it! You might even feel ambivalent about it :)
>> >
>> >
>> > On 20 December 2013 00:49, Frank R. <renfeng.cn@gmail.com> wrote:
>> >
>> >> What is the port of 8001?
>>
>> >>
>> >>
>> >> On Thu, Dec 19, 2013 at 11:45 PM, Thomas Wrobel <darkflame@gmail.com>
>> >> wrote:
>> >>
>> >> > Still cant seem to get the GWT hosted mode working.
>> >> >
>> >> > I am 95% sure the server is fine. Running "ant run-server" and going
>> to
>> >> > localhost:9898 means I can see and use the webclient. Have to keep
>> making
>> >> > new accounts as the old one shiny-ed, but I guess that's just a
>> normal
>> >> bug.
>> >> >
>> >> > Running "ant hosted" still results in no connection;
>> >> > http://darkflame.co.uk/sharespace/Screenshot2.jpg
>> >> > (messy screenshot, but was trying to show everything)
>> >> > ------------------------------------
>> >> > There seems to be some communication between client and server still,
>> >> > however, as when I refresh the browser I notice activity in the
>> server
>> >> > console window.
>> >> > Heres the log of that;
>> >> > -------------------------------------
>> >> > =false,w=true,i=1!}-{AsyncHttpConnection@1132ca1
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c
>> >> > =-1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> 02:46:28.140:DBUG:oejs.AbstractHttpConnection:closed
>> >> > Asyn
>> >> > cHttpConnection@1132ca1
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0
>> >> > ,c=0},r=0
>> >> >      [java] 2013-12-19 02:46:28.140:DBUG:oeji.nio:destroyEndPoint
>> >> > SCEP@e03186{l(
>> >> > null)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=false,ishut=true,oshut=true,rb=false,wb=
>> >> > false,w=true,i=1!}-{AsyncHttpConnection@d37bd8
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-
>> >> > 1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> 02:46:28.140:DBUG:oejs.AbstractHttpConnection:closed
>> >> > Asyn
>> >> > cHttpConnection@d37bd8
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,
>> >> > c=0},r=0
>> >> >      [java] 2013-12-19 02:46:28.140:DBUG:oeji.nio:destroyEndPoint
>> >> > SCEP@13d0953{l
>> >> > (null)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=false,ishut=true,oshut=true,rb=false,wb
>> >> > =false,w=true,i=1!}-{AsyncHttpConnection@2f3f59
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=
>> >> > -1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> 02:46:28.140:DBUG:oejs.AbstractHttpConnection:closed
>> >> > Asyn
>> >> > cHttpConnection@2f3f59
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,
>> >> > c=0},r=0
>> >> >      [java] 2013-12-19 02:46:36.968:DBUG:oejss.HashedSession:Saving
>> >> > 8o7fkft8skr8
>> >> > kfpunuz6vcmr true
>> >> >      [java] 2013-12-19 02:46:37.109:DBUG:oejss.HashedSession:Saving
>> >> > 12olu3og9eil
>> >> > y19n8l392o3k7d true
>> >> >      [java] 2013-12-19 02:47:34.375:DBUG:oejh.HttpParser:filled
>> 444/444
>> >> >      [java] 2013-12-19 02:47:34.375:DBUG:oejs.Server:REQUEST / on
>> >> > AsyncHttpConne
>> >> > ction@1d4eeb5
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=35,c=0},r=
>> >> > 197
>> >> >      [java] 2013-12-19 02:47:34.375:DBUG:oejsh.ContextHandler:scope
>> >> null||/
>> >> > @ o.
>> >> >
>> >> >
>> >>
>> e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file:/C:/TomsProjects/
>> >> > wave/war/]
>> >> >      [java] 2013-12-19
>> >> 02:47:34.375:DBUG:oejsh.ContextHandler:context=||/ @
>> >> > o.e.
>> >> >
>> >> >
>> >>
>> j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file:/C:/TomsProjects/wa
>> >> > ve/war/]
>> >> >      [java] 2013-12-19 02:47:34.390:DBUG:oejs.session:Got Session ID
>> >> > 8o7fkft8skr
>> >> > 8kfpunuz6vcmr from cookie
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.390:DBUG:oejs.session:sessionManager=org.eclipse
>> >> > .jetty.server.session.HashSessionManager@b48b11
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.406:DBUG:oejs.session:session=org.eclipse.jetty.
>> >> > server.session.HashedSession:8o7fkft8skr8kfpunuz6vcmr@20584312
>> >> >      [java] 2013-12-19 02:47:34.406:DBUG:oejs.ServletHandler:servlet
>> >> > |/|null ->
>> >> > default
>> >> >      [java] 2013-12-19 02:47:34.406:DBUG:oejs.ServletHandler:chain=
>> >> > com.google.in
>> >> > ject.servlet.GuiceFilter-5683514->default
>> >> >      [java] 2013-12-19 02:47:34.406:DBUG:oejs.ServletHandler:call
>> filter
>> >> > com.goo
>> >> > gle.inject.servlet.GuiceFilter-5683514
>> >> >      [java] 2013-12-19 02:47:34.406:DBUG:oejs.Server:RESPONSE /  200
>> >> >      [java] 2013-12-19 02:47:34.406:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.500:DBUG:oejh.HttpParser:filled
>> 486/486
>> >> >      [java] 2013-12-19 02:47:34.500:DBUG:oejs.Server:REQUEST
>> >> > /webclient/webclien
>> >> > t.nocache.js on AsyncHttpConnection@1d4eeb5
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},
>> >> > p=HttpParser{s=-5,l=35,c=0},r=198
>> >> >      [java] 2013-12-19 02:47:34.500:DBUG:oejsh.ContextHandler:scope
>> >> > null||/webcl
>> >> > ient/webclient.nocache.js @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/
>> >> > war/]},[file:/C:/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.500:DBUG:oejsh.ContextHandler:context=||/webclie
>> >> > nt/webclient.nocache.js @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/wa
>> >> > r/]},[file:/C:/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19 02:47:34.515:DBUG:oejs.session:Got Session ID
>> >> > 8o7fkft8skr
>> >> > 8kfpunuz6vcmr from cookie
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.515:DBUG:oejs.session:sessionManager=org.eclipse
>> >> > .jetty.server.session.HashSessionManager@b48b11
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.515:DBUG:oejs.session:session=org.eclipse.jetty.
>> >> > server.session.HashedSession:8o7fkft8skr8kfpunuz6vcmr@20584312
>> >> >      [java] 2013-12-19 02:47:34.515:DBUG:oejs.ServletHandler:servlet
>> >> > |/webclient
>> >> > /webclient.nocache.js|null -> default
>> >> >      [java] 2013-12-19 02:47:34.515:DBUG:oejs.ServletHandler:chain=
>> >> > com.google.in
>> >> >
>> >> >
>> >>
>> ject.servlet.GuiceFilter-5683514->org.eclipse.jetty.servlets.GzipFilter-11382417
>> >> > ->default
>> >> >      [java] 2013-12-19 02:47:34.515:DBUG:oejs.ServletHandler:call
>> filter
>> >> > com.goo
>> >> > gle.inject.servlet.GuiceFilter-5683514
>> >> >      [java] 2013-12-19 02:47:34.515:DBUG:oejs.DefaultServlet:Resource
>> >> > /webclient
>> >> > /webclient.nocache.js.gz=null
>> >> >      [java] 2013-12-19 02:47:34.515:DBUG:oejs.DefaultServlet:Resource
>> >> > /webclient
>> >> >
>> >> >
>> >>
>> /webclient.nocache.js=file:/C:/TomsProjects/wave/war/webclient/webclient.nocache
>> >> > .js
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.515:DBUG:oejs.DefaultServlet:uri=/webclient/webc
>> >> > lient.nocache.js
>> >> > resource=file:/C:/TomsProjects/wave/war/webclient/webclient.noc
>> >> > ache.js
>> >> >      [java] 2013-12-19 02:47:34.515:DBUG:oejs.Server:RESPONSE
>> >> > /webclient/webclie
>> >> > nt.nocache.js  304
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejh.HttpParser:filled
>> 488/488
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejs.Server:REQUEST
>> >> > /static/logo.png on
>> >> >  AsyncHttpConnection@1d4eeb5
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=
>> >> > -5,l=35,c=0},r=199
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejsh.ContextHandler:scope
>> >> > null||/stati
>> >> > c/logo.png @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file:/C
>> >> > :/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.531:DBUG:oejsh.ContextHandler:context=||/static/
>> >> > logo.png @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file:/C:/
>> >> > TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejs.session:Got Session ID
>> >> > 8o7fkft8skr
>> >> > 8kfpunuz6vcmr from cookie
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.531:DBUG:oejs.session:sessionManager=org.eclipse
>> >> > .jetty.server.session.HashSessionManager@b48b11
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.531:DBUG:oejs.session:session=org.eclipse.jetty.
>> >> > server.session.HashedSession:8o7fkft8skr8kfpunuz6vcmr@20584312
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejs.ServletHandler:servlet
>> >> > |/static/lo
>> >> > go.png|null -> default
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejs.ServletHandler:chain=
>> >> > com.google.in
>> >> > ject.servlet.GuiceFilter-5683514->default
>> >> >      [java] 2013-12-19 02:47:34.531:DBUG:oejs.ServletHandler:call
>> filter
>> >> > com.goo
>> >> > gle.inject.servlet.GuiceFilter-5683514
>> >> >      [java] 2013-12-19 02:47:34.578:DBUG:oejs.DefaultServlet:Resource
>> >> > /static/lo
>> >> > go.png.gz=null
>> >> >      [java] 2013-12-19 02:47:34.578:DBUG:oejs.DefaultServlet:Resource
>> >> > /static/lo
>> >> > go.png=file:/C:/TomsProjects/wave/war/static/logo.png
>> >> >      [java] 2013-12-19
>> 02:47:34.578:DBUG:oejs.DefaultServlet:uri=/static/
>> >> > logo.pn
>> >> > g resource=file:/C:/TomsProjects/wave/war/static/logo.png
>> >> >      [java] 2013-12-19 02:47:34.593:DBUG:oejs.Server:RESPONSE
>> >> > /static/logo.png
>> >> > 304
>> >> >      [java] 2013-12-19 02:47:34.593:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.593:DBUG:oejh.HttpParser:filled
>> 428/428
>> >> >      [java] 2013-12-19 02:47:34.593:DBUG:oejs.Server:REQUEST /
>> >> > socket.io/socket.i
>> >> > o.js on AsyncHttpConnection@1d4eeb5
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpPa
>> >> > rser{s=-5,l=35,c=0},r=200
>> >> >      [java] 2013-12-19 02:47:34.671:DBUG:oejsh.ContextHandler:scope
>> >> > null||/socke
>> >> > t.io/socket.io.js @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[
>> >> > file:/C:/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19 02:47:34.640:DBUG:oeji.nio:created
>> SCEP@1a61053
>> >> > {l(/127.0.
>> >> > 0.1:1310)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=true,ishut=false,oshut=false,rb=fals
>> >> > e,wb=false,w=true,i=0}-{AsyncHttpConnection@179bd11
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-
>> >> > 1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.671:DBUG:oejsh.ContextHandler:context=||/socket.
>> >> > io/socket.io.js @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[fi
>> >> > le:/C:/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.session:Got Session ID
>> >> > 8o7fkft8skr
>> >> > 8kfpunuz6vcmr from cookie
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.687:DBUG:oejs.session:sessionManager=org.eclipse
>> >> > .jetty.server.session.HashSessionManager@b48b11
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.687:DBUG:oejs.session:session=org.eclipse.jetty.
>> >> > server.session.HashedSession:8o7fkft8skr8kfpunuz6vcmr@20584312
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.ServletHandler:servlet
>> |/
>> >> > socket.io
>> >> > /socket.io.js|null -> default
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.ServletHandler:chain=
>> >> > com.google.in
>> >> > ject.servlet.GuiceFilter-5683514->default
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.ServletHandler:call
>> filter
>> >> > com.goo
>> >> > gle.inject.servlet.GuiceFilter-5683514
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejh.HttpParser:filled
>> 489/489
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.Server:REQUEST
>> >> > /static/earth.png o
>> >> > n AsyncHttpConnection@179bd11
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s
>> >> > =-5,l=35,c=0},r=1
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejsh.ContextHandler:scope
>> >> > null||/stati
>> >> > c/earth.png @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file:/
>> >> > C:/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.687:DBUG:oejsh.ContextHandler:context=||/static/
>> >> > earth.png @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file:/C:
>> >> > /TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.session:Got Session ID
>> >> > 8o7fkft8skr
>> >> > 8kfpunuz6vcmr from cookie
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.687:DBUG:oejs.session:sessionManager=org.eclipse
>> >> > .jetty.server.session.HashSessionManager@b48b11
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.687:DBUG:oejs.session:session=org.eclipse.jetty.
>> >> > server.session.HashedSession:8o7fkft8skr8kfpunuz6vcmr@20584312
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.ServletHandler:servlet
>> >> > |/static/ea
>> >> > rth.png|null -> default
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.ServletHandler:chain=
>> >> > com.google.in
>> >> > ject.servlet.GuiceFilter-5683514->default
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.ServletHandler:call
>> filter
>> >> > com.goo
>> >> > gle.inject.servlet.GuiceFilter-5683514
>> >> >      [java] 2013-12-19 02:47:34.687:DBUG:oejs.DefaultServlet:Resource
>> >> > /static/ea
>> >> > rth.png.gz=null
>> >> >      [java] 2013-12-19 02:47:34.703:DBUG:oejs.Server:RESPONSE /
>> >> > socket.io/socket.
>> >> > io.js  200
>> >> >      [java] 2013-12-19 02:47:34.703:DBUG:oeji.nio:created SCEP@33a290
>> >> > {l(/127.0.0
>> >> > .1:1311)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=true,ishut=false,oshut=false,rb=false
>> >> > ,wb=false,w=true,i=0}-{AsyncHttpConnection@1f5d05b
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1
>> >> > ,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:34.703:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.703:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.703:DBUG:oejs.DefaultServlet:Resource
>> >> > /static/ea
>> >> > rth.png=file:/C:/TomsProjects/wave/war/static/earth.png
>> >> >      [java] 2013-12-19 02:47:34.750:DBUG:oeji.nio:created SCEP@c76003
>> >> > {l(/127.0.0
>> >> > .1:1312)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=true,ishut=false,oshut=false,rb=false
>> >> > ,wb=false,w=true,i=0}-{AsyncHttpConnection@1709dc6
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1
>> >> > ,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> > 02:47:34.796:DBUG:oejs.DefaultServlet:uri=/static/earth.p
>> >> > ng resource=file:/C:/TomsProjects/wave/war/static/earth.png
>> >> >      [java] 2013-12-19 02:47:34.796:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.796:DBUG:oejs.Server:RESPONSE
>> >> > /static/earth.png
>> >> >  304
>> >> >      [java] 2013-12-19 02:47:34.796:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.812:DBUG:oeji.nio:created SCEP@23ec74
>> >> > {l(/127.0.0
>> >> > .1:1313)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=true,ishut=false,oshut=false,rb=false
>> >> > ,wb=false,w=true,i=0}-{AsyncHttpConnection@78d8ac
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,
>> >> > c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:34.812:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:34.875:DBUG:oeji.nio:created SCEP@148bd4
>> >> > {l(/127.0.0
>> >> > .1:1314)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=true,ishut=false,oshut=false,rb=false
>> >> > ,wb=false,w=true,i=0}-{AsyncHttpConnection@e819b3
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,
>> >> > c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:34.906:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:35.218:DBUG:oejh.HttpParser:filled
>> 333/333
>> >> >      [java] 2013-12-19 02:47:35.218:DBUG:oejs.Server:REQUEST
>> >> > /static/favicon.ico
>> >> >  on AsyncHttpConnection@1d4eeb5
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser
>> >> > {s=-5,l=35,c=0},r=201
>> >> >      [java] 2013-12-19 02:47:35.218:DBUG:oejsh.ContextHandler:scope
>> >> > null||/stati
>> >> > c/favicon.ico @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file
>> >> > :/C:/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19
>> >> > 02:47:35.218:DBUG:oejsh.ContextHandler:context=||/static/
>> >> > favicon.ico @
>> >> > o.e.j.w.WebAppContext{/,[file:/C:/TomsProjects/wave/war/]},[file:/
>> >> > C:/TomsProjects/wave/war/]
>> >> >      [java] 2013-12-19 02:47:35.250:DBUG:oejs.session:Got Session ID
>> >> > 8o7fkft8skr
>> >> > 8kfpunuz6vcmr from cookie
>> >> >      [java] 2013-12-19
>> >> > 02:47:35.250:DBUG:oejs.session:sessionManager=org.eclipse
>> >> > .jetty.server.session.HashSessionManager@b48b11
>> >> >      [java] 2013-12-19
>> >> > 02:47:35.250:DBUG:oejs.session:session=org.eclipse.jetty.
>> >> > server.session.HashedSession:8o7fkft8skr8kfpunuz6vcmr@20584312
>> >> >      [java] 2013-12-19 02:47:35.250:DBUG:oejs.ServletHandler:servlet
>> >> > |/static/fa
>> >> > vicon.ico|null -> default
>> >> >      [java] 2013-12-19 02:47:35.250:DBUG:oejs.ServletHandler:chain=
>> >> > com.google.in
>> >> > ject.servlet.GuiceFilter-5683514->default
>> >> >      [java] 2013-12-19 02:47:35.250:DBUG:oejs.ServletHandler:call
>> filter
>> >> > com.goo
>> >> > gle.inject.servlet.GuiceFilter-5683514
>> >> >      [java] 2013-12-19 02:47:35.250:DBUG:oejs.DefaultServlet:Resource
>> >> > /static/fa
>> >> > vicon.ico.gz=null
>> >> >      [java] 2013-12-19 02:47:35.250:DBUG:oejs.DefaultServlet:Resource
>> >> > /static/fa
>> >> > vicon.ico=file:/C:/TomsProjects/wave/war/static/favicon.ico
>> >> >      [java] 2013-12-19
>> >> > 02:47:35.250:DBUG:oejs.DefaultServlet:uri=/static/favicon
>> >> > .ico resource=file:/C:/TomsProjects/wave/war/static/favicon.ico
>> >> >      [java] 2013-12-19 02:47:35.281:DBUG:oejs.Server:RESPONSE
>> >> > /static/favicon.ic
>> >> > o  200
>> >> >      [java] 2013-12-19 02:47:35.281:DBUG:oejh.HttpParser:filled 0/0
>> >> >      [java] 2013-12-19 02:47:36.968:DBUG:oejss.HashedSession:Saving
>> >> > 8o7fkft8skr8
>> >> > kfpunuz6vcmr true
>> >> >      [java] 2013-12-19 02:47:37.109:DBUG:oejss.HashedSession:Saving
>> >> > 12olu3og9eil
>> >> > y19n8l392o3k7d true
>> >> >      [java] 2013-12-19 02:47:48.000:DBUG:oejin.ChannelEndPoint:ishut
>> >> > SCEP@33a290
>> >> > {l(/127.0.0.1:1311)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=false,oshut=fals
>> >> > e,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@1f5d05b
>> >> > ,g=HttpGenerator{s=
>> >> > 0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.000:DBUG:oejh.HttpParser:filled -1/0
>> >> >      [java] 2013-12-19 02:47:48.000:DBUG:oejin.ChannelEndPoint:close
>> >> > SCEP@33a290
>> >> > {l(/127.0.0.1:1311)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=true,oshut=false
>> >> > ,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@1f5d05b
>> >> > ,g=HttpGenerator{s=0
>> >> > ,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.000:DBUG:oejin.ChannelEndPoint:ishut
>> >> > SCEP@c76003
>> >> > {l(/127.0.0.1:1312)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=false,oshut=fals
>> >> > e,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@1709dc6
>> >> > ,g=HttpGenerator{s=
>> >> > 0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oejh.HttpParser:filled -1/0
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oejin.ChannelEndPoint:close
>> >> > SCEP@c76003
>> >> > {l(/127.0.0.1:1312)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=true,oshut=false
>> >> > ,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@1709dc6
>> >> > ,g=HttpGenerator{s=0
>> >> > ,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.000:DBUG:oejin.ChannelEndPoint:ishut
>> >> > SCEP@148bd4
>> >> > {l(/127.0.0.1:1314)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=false,oshut=fals
>> >> > e,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@e819b3
>> >> > ,g=HttpGenerator{s=0
>> >> > ,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oejh.HttpParser:filled -1/0
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oejin.ChannelEndPoint:close
>> >> > SCEP@148bd4
>> >> > {l(/127.0.0.1:1314)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=true,oshut=false
>> >> > ,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@e819b3
>> >> > ,g=HttpGenerator{s=0,
>> >> > h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oeji.nio:destroyEndPoint
>> >> > SCEP@33a290{l(
>> >> > null)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=false,ishut=true,oshut=true,rb=false,wb=f
>> >> > alse,w=true,i=1!}-{AsyncHttpConnection@1f5d05b
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-
>> >> > 1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> 02:47:48.046:DBUG:oejs.AbstractHttpConnection:closed
>> >> > Asyn
>> >> > cHttpConnection@1f5d05b
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0
>> >> > ,c=0},r=0
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oeji.nio:destroyEndPoint
>> >> > SCEP@c76003{l(
>> >> > /127.0.0.1:1312)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=false,ishut=true,oshut=true,rb
>> >> > =false,wb=false,w=true,i=1!}-{AsyncHttpConnection@1709dc6
>> >> > ,g=HttpGenerator{s=0,h=
>> >> > -1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> 02:47:48.046:DBUG:oejs.AbstractHttpConnection:closed
>> >> > Asyn
>> >> > cHttpConnection@1709dc6
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0
>> >> > ,c=0},r=0
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oeji.nio:destroyEndPoint
>> >> > SCEP@148bd4{l(
>> >> > /127.0.0.1:1314)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=false,ishut=true,oshut=true,r
>> >> > b=false,wb=false,w=true,i=1!}-{AsyncHttpConnection@e819b3
>> >> > ,g=HttpGenerator{s=0,h=
>> >> > -1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.000:DBUG:oejin.ChannelEndPoint:ishut
>> >> > SCEP@23ec74
>> >> > {l(/127.0.0.1:1313)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=false,oshut=fals
>> >> > e,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@78d8ac
>> >> > ,g=HttpGenerator{s=0
>> >> > ,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> 02:47:48.046:DBUG:oejs.AbstractHttpConnection:closed
>> >> > Asyn
>> >> > cHttpConnection@e819b3
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,
>> >> > c=0},r=0
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oejh.HttpParser:filled -1/0
>> >> >      [java] 2013-12-19 02:47:48.046:DBUG:oejin.ChannelEndPoint:close
>> >> > SCEP@23ec74
>> >> > {l(/127.0.0.1:1313)<->r(/127.0.0.1:9898
>> >> > ),d=true,open=true,ishut=true,oshut=false
>> >> > ,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@78d8ac
>> >> > ,g=HttpGenerator{s=0,
>> >> > h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19 02:47:48.062:DBUG:oeji.nio:destroyEndPoint
>> >> > SCEP@23ec74{l(
>> >> > null)<->r(/127.0.0.1:9898
>> >> > ),d=false,open=false,ishut=true,oshut=true,rb=false,wb=
>> >> > false,w=true,i=1!}-{AsyncHttpConnection@78d8ac
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-
>> >> > 1},p=HttpParser{s=0,l=0,c=0},r=0}
>> >> >      [java] 2013-12-19
>> >> 02:47:48.062:DBUG:oejs.AbstractHttpConnection:closed
>> >> > Asyn
>> >> > cHttpConnection@78d8ac
>> >> > ,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,
>> >> > c=0},r=0
>> >> >      [java] 2013-12-19 02:48:36.968:DBUG:oejss.HashedSession:Saving
>> >> > 8o7fkft8skr8
>> >> > kfpunuz6vcmr true
>> >> >      [java] 2013-12-19 02:48:37.218:DBUG:oejss.HashedSession:Saving
>> >> > 12olu3og9eil
>> >> > y19n8l392o3k7d true
>> >> >      [java] 2013-12-19 02:49:36.968:DBUG:oejss.HashedSession:Saving
>> >> > 8o7fkft8skr8
>> >> > kfpunuz6vcmr true
>> >> >      [java] 2013-12-19 02:49:37.218:DBUG:oejss.HashedSession:Saving
>> >> > 12olu3og9eil
>> >> > y19n8l392o3k7d true
>> >> >
>> >> > ---------------------------------
>> >> >
>> >> > Looking at the gwt-hosted build xml;
>> >> >
>> >> >   <target name="hosted-gwt" depends="compile"
>> >> >       description="Runs the hosted mode server, for debugging the GWT
>> >> > client in a JVM.">
>> >> >     <java failonerror="true" fork="true"
>> >> > classname="com.google.gwt.dev.DevMode">
>> >> >       <classpath>
>> >> >         <pathelement location="${src.dir}"/>
>> >> >         <pathelement location="${gen.dir}/messages"/>
>> >> >         <path refid="libpath"/>
>> >> >       </classpath>
>> >> >       <jvmarg value="-Xmx1024M"/>
>> >> >       <jvmarg value="-ea"/>
>> >> >       <jvmarg
>> >> >
>> >> >
>> >>
>> value="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8001"/>
>> >> >       <arg value="-noserver" />
>> >> >       <arg line="-bindAddress 0.0.0.0" />
>> >> >       <arg line="${gwt.args}"/>
>> >> >       <arg line="-startupUrl http://localhost:9898"/>
>> >> >       <arg value="org.waveprotocol.box.webclient.WebClientProd"/>
>> >> >     </java>
>> >> >   </target>
>> >> >
>> >> >
>> >> > should "-noserver" be in there?
>> >> > I didnt edit any of that myself, save for pasting the startURL into
>> it,
>> >> but
>> >> > I am looking at difference between the working "editor-hosted" and
>> >> > "waveharness-hosted" configs, and this one.
>> >> >
>> >> >
>> >> > ~~~
>> >> > Thomas & Bertines online review show:
>> >> > http://randomreviewshow.com/index.html
>> >> > Try it! You might even feel ambivalent about it :)
>> >> >
>> >> >
>> >> > On 17 December 2013 22:42, Thomas Wrobel <darkflame@gmail.com>
>> wrote:
>> >> >
>> >> > > *Sam -* Thanks for the idea, but I don't think that's been my
>> issue,
>> >> as I
>> >> > > could connect ok to waveharness-hosted and ant editor-hosted 
when
>> I
>> >> > > tried them.
>> >> > > Still, good to note that incase anyone else has that issue.
>> >> > >
>> >> > > ~~~
>> >> > > Thomas & Bertines online review show:
>> >> > > http://randomreviewshow.com/index.html
>> >> > > Try it! You might even feel ambivalent about it :)
>> >> > >
>> >> > >
>> >> > > On 17 December 2013 21:34, Sam Nelson <sohra@orcon.net.nz>
wrote:
>> >> > >
>> >> > >> Hi Thomas,
>> >> > >>
>> >> > >> I'm completely unfamilar with your dev tools, however when
you
>> >> suggested
>> >> > >> having to run something first before http://localhost:9898exists,
>> >> that
>> >> > >> rung a bell for me as a windows developer.  When attempting
to
>> listen
>> >> > on a
>> >> > >> URL in a windows environment with a WCF self-hosted service
-
>> that is,
>> >> > >> outside of the IIS web server, I've had to explicitly grant
access
>> >> > rights
>> >> > >> for the URL to my application's user account by running something
>> >> like:
>> >> > >> netsh http add urlacl url=http://localhost:9898user="MyServiceUser"
>> >> > >>
>> >> > >> I think "netsh http" only works on Vista or higher though,
in an
>> XP
>> >> > >> environment you'd need the Windows Support Tools installed
to
>> >> accomplish
>> >> > >> the same via the command line, although I don't know which
tool
>> you
>> >> use
>> >> > in
>> >> > >> here since at that point I just switched my installer from
>> invoking
>> >> > another
>> >> > >> tool, to using the HTTP API directly (see
>> HttpSetServiceConfiguration
>> >> in
>> >> > >> the httpapi.dll), which gives the required functionality between
>> both
>> >> > >> operating systems.  Not sure if that'll help?
>> >> > >>
>> >> > >>
>> >> > >> -------- Original Message --------
>> >> > >> Date:   Tue, 17 Dec 2013 16:21:22 +0100
>> >> > >> From:   Thomas Wrobel <darkflame@gmail.com>
>> >> > >>
>> >> > >>
>> >> > >> On 16 December 2013 18:26, Yuri Z <vega113@gmail.com <mailto:
>> >> > >> vega113@gmail.com>> wrote:
>> >> > >>
>> >> > >>    Try to add the startupUrl like this:
>> >> > >>
>> >> > >>       <target name="hosted-gwt" depends="compile"
>> >> > >>           description="Runs the hosted mode server, for debugging
>> the
>> >> > GWT
>> >> > >>    client in a JVM.">
>> >> > >>         <java failonerror="true" fork="true"
>> >> > >>    classname="com.google.gwt.dev.DevMode">
>> >> > >>           <classpath>
>> >> > >>             <pathelement location="${src.dir}"/>
>> >> > >>             <pathelement location="${gen.dir}/messages"/>
>> >> > >>             <path refid="libpath"/>
>> >> > >>           </classpath>
>> >> > >>           <jvmarg value="-Xmx512M"/>
>> >> > >>           <jvmarg value="-ea"/>
>> >> > >>           <jvmarg
>> >> > >>    value="-agentlib:jdwp=transport=dt_socket,server=y,
>> >> > >> suspend=n,address=8001"/>
>> >> > >>           <arg value="-noserver" />
>> >> > >>           <arg line="-bindAddress 0.0.0.0" />
>> >> > >>           <arg line="${gwt.args}"/>
>> >> > >>           <arg line="-startupUrl http://localhost:9898"/>
>> >> > >>           <arg
>> value="org.waveprotocol.box.webclient.WebClientProd"/>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >> Progress, but still no luck.
>> >> > >> My XML now seems identical to you, with the exception of 
<jvmarg
>> >> > >> value="-Xmx512M"/> is <jvmarg value="-Xmx1024M"/>.
I assume that's
>> >> just
>> >> > >> mine having more memory assigned though.
>> >> > >>
>> >> > >> On running "ant hosted-gwt" I now get a startupurl , but no
>> connection
>> >> > to
>> >> > >> it (enclosed screenshot, hope it works);
>> >> > >>
>> >> > >> Could it be something with port numbers? I notice theres a
>> parameter
>> >> > >> there "address=8001", dunno if that has any connection with
my
>> lack of
>> >> > >> connection.
>> >> > >> Only other thing I can think of is I have to run something
else
>> first
>> >> > >> before "http://localhost:9898" exists?
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >>
>> >> > >
>> >> >
>> >>
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message