You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Sergey Beryozkin <sb...@gmail.com> on 2011/04/13 19:17:45 UTC

Re: LogBrowser project is on the trunk

I've finally managed to spend a day today working on Windows, and I did get
the exception when using IE too, though, IE itself does subscribe to the log
feed without problems.

There's definitely something unstable there which is a pity, it's been a
great effort from Tomasz and with the ability to search the logs, it's a
feature to miss, it could've been used nicely in conjunction with the the
push logging, i.e. critical events are reported asap and then an admin can
do a more through analysis of the logs, rather than having all log MBs sent
across the network

But it does look it works for some people, so we just need to document a bit
how to use it as a Maven dependency, untill we figure out what is happening,

Tomasz, can you give me a favor please and update the LogBrowser page
with few lastest images as I can't get them myself ? I will add some info to
the Migration Guide (Maven deps, how to set things up, etc).

One thing I'm thinking about is we basically get rid of GWT code dealing
with showing the lists of log entries (top-right panel) and just use HTML
returned from the log feed. GWT will only be used to offer the list of
endpoints, filters, etc, and may be in time we can just replace GWT with
something lighter/simpler.

Tomasz, AtomPullServer has getAlternateFeed and getAlternateEntry methods
and they serve HTML as opposed to XML feeds.
RSSBandit reader on Windows is very good in that it shows alternate feeds
and entries properly.
I think GWT should have some browser support, so if you could make the
top/right panel a browser window which will only show the alternate content,
as part of the frame, such that whenever log entry links are clicked, the
output is directed to the right-bottom pane..
Do you think it will make sense ?

Cheers, Sergey

On Thu, Mar 31, 2011 at 4:18 PM, Sergey Beryozkin <sb...@gmail.com>wrote:

> I've added NOTICE to the rt/management-web only as I'm still seeing all
> sort of crashes on Ubuntu, it does look like my environment is somehow
> broken for GWT to work properly as Tomasz did confirm iy was working ok on
> Ubuntu for him. I''ll try to confirm that it is all working on Windows and
> after that I'll update the distribution.
>
> It would be good if few more people tried a logbrowser demo in the
> distribution - it is very easy to run...I think if we can get at least one
> more crash report then we might want to consider 'distributing' the
> logbrowser as a Maven dependency only. I hope it's my Ubuntu distribution
> only (old enough already) that is not stable...
>
> Cheers, Sergey
>
>
> On Wed, Mar 16, 2011 at 2:21 AM, Daniel Kulp <dk...@apache.org> wrote:
>
>> On Tuesday 15 March 2011 6:25:14 PM Tomasz Oponowicz wrote:
>> > > Probably one open issue is to figure out what to do with different .js
>> > > scripts. ? The scripts which are in the rt/management-web module, can
>> > > they be Apache licensed ? Dan - what do you think ?
>> >
>> > There are:
>> >
>> > * json2.min.js - Public Domain;
>> > * uuid.min.js - Dual licensed under the MIT and GPL licenses;
>>
>> Both licenses are fine, but we need to note them in the NOTICE file.
>>
>> You'll need to create a
>> src/main/appended-resources/META-INF/NOTICE
>> file that contains whatever text would be required.
>>
>> For example, in the javascript module, the NOTICE there has:
>>
>> Portions of the file cxf-utils.js derives from code marked:
>> This code was written by Tyler Akins and has been placed in the
>> public domain.  It would be nice if you left this header intact.
>> Base64 code from Tyler Akins -- http://rumkin.com
>>
>> You can use that as a guideline.
>>
>> You'll also need to update
>> distribution/src/main/appended-resources/META-INF/NOTICE
>> with the same info for the release assemplies to pick up.
>>
>>
>> --
>> Daniel Kulp
>> dkulp@apache.org
>> http://dankulp.com/blog
>> Talend - http://www.talend.com
>>
>
>
>

Re: LogBrowser project is on the trunk

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Tomasz

On Thu, Apr 21, 2011 at 12:53 PM, Tomasz Oponowicz
<to...@gmail.com> wrote:
> Hi Sergey,
>
> Fixed.
>
> The schema of log entry has been changed. From 'eventTimestamp' to 'date'.

Sorry, that was my fault I did not think it would affect the browser.
I did update that property name so that
it was easier to express queries with dates:

/logs?_s=date=le=2011-03-04

is a bit simpler than

/logs?_s=eventTimestamp=le=2011-03-04

> Later I will prepare unit test for checking contract between client and server.
>

Please, whenever you get a chance. Using alternate feed/entries will
simplify this issue because a pure HTML will be returned.
However, GWT does give us more flexibility in the way individual
entries are displayed, etc, so lets stick to using GWT for now :-)

thanks, Sergey

> On Wed, Apr 20, 2011 at 11:47 AM, Sergey Beryozkin <sb...@gmail.com> wrote:
>> Hi Tomasz -
>>
>> thanks for looking into it - yes, lets try to get it back to normal.
>> Lets see if we can realistically work with GWT - effectively we need
>> to decide at some point if GWT is what will be used for other similar
>> tasks, for getting the log files downloaded, for having another tab
>> showing the list of managed components, etc.
>>
>> Cheers, Sergey
>>
>> On Wed, Apr 20, 2011 at 10:37 AM, Tomasz Oponowicz
>> <to...@gmail.com> wrote:
>>> Hi,
>>>
>>> I've tried to create couple of screenshots but I figured out that
>>> nothing is working:
>>>
>>> - exceptions in sample project;
>>> - exceptions in development mode;
>>>
>>> I'm fixing this.
>>>
>>> On Mon, Apr 18, 2011 at 11:31 AM, Sergey Beryozkin <sb...@gmail.com> wrote:
>>>> Hi Tomasz
>>>>
>>>> On Sun, Apr 17, 2011 at 9:06 AM, Tomasz Oponowicz
>>>> <to...@gmail.com> wrote:
>>>>>
>>>>> Hi Sergey,
>>>>>
>>>>> On Wed, Apr 13, 2011 at 7:17 PM, Sergey Beryozkin <sb...@gmail.com>
>>>>> wrote:
>>>>> > I've finally managed to spend a day today working on Windows, and I did
>>>>> > get
>>>>> > the exception when using IE too, though, IE itself does subscribe to the
>>>>> > log
>>>>> > feed without problems.
>>>>>
>>>>> Grrrr.... I will investigate this one. Can you provide stack trace and
>>>>> other details (use case, browser version etc.) ?
>>>>>
>>>>
>>>> The exception was something to do with "null", I'll need to run the browser
>>>> in the dev mode to get more details.
>>>> It's Windows XP/IE7
>>>>
>>>>>
>>>>> > There's definitely something unstable there which is a pity, it's been a
>>>>> > great effort from Tomasz and with the ability to search the logs, it's a
>>>>> > feature to miss, it could've been used nicely in conjunction with the
>>>>> > the
>>>>> > push logging, i.e. critical events are reported asap and then an admin
>>>>> > can
>>>>> > do a more through analysis of the logs, rather than having all log MBs
>>>>> > sent
>>>>> > across the network
>>>>> >
>>>>> > But it does look it works for some people, so we just need to document a
>>>>> > bit
>>>>> > how to use it as a Maven dependency, untill we figure out what is
>>>>> > happening,
>>>>> >
>>>>> > Tomasz, can you give me a favor please and update the LogBrowser page
>>>>> > with few lastest images as I can't get them myself ? I will add some
>>>>> > info to
>>>>> > the Migration Guide (Maven deps, how to set things up, etc).
>>>>>
>>>>> Good point. I will update it.
>>>>>
>>>>
>>>>
>>>> Please - a couple of snapshots, with some description on how to add a new
>>>> endpoint, will help.
>>>>
>>>>
>>>>>
>>>>> > One thing I'm thinking about is we basically get rid of GWT code dealing
>>>>> > with showing the lists of log entries (top-right panel) and just use
>>>>> > HTML
>>>>> > returned from the log feed. GWT will only be used to offer the list of
>>>>> > endpoints, filters, etc, and may be in time we can just replace GWT with
>>>>> > something lighter/simpler.
>>>>>
>>>>> If you decide that GWT is too big overweight for such a simple task, I
>>>>> can rewrite this using Javascript/JQuery/HTML (but firstly let's fix
>>>>> this bug).
>>>>
>>>>
>>>> OK. I'll try to get more details. And may be you can reproduce something
>>>>>
>>>>> > Tomasz, AtomPullServer has getAlternateFeed and getAlternateEntry
>>>>> > methods
>>>>> > and they serve HTML as opposed to XML feeds.
>>>>> > RSSBandit reader on Windows is very good in that it shows alternate
>>>>> > feeds
>>>>> > and entries properly.
>>>>> > I think GWT should have some browser support, so if you could make the
>>>>> > top/right panel a browser window which will only show the alternate
>>>>> > content,
>>>>> > as part of the frame, such that whenever log entry links are clicked,
>>>>> > the
>>>>> > output is directed to the right-bottom pane..
>>>>> > Do you think it will make sense ?
>>>>>
>>>>> Firstly I will try to fix the bug in the normal way but if there won't
>>>>> be any other solution I will replace current implementation with
>>>>> "getAlternateFeed" and "getAlternateEntry".
>>>>>
>>>>> I will update documentation and fix the bug on Monday.
>>>>>
>>>>
>>>> Great, please update the docs if you can.
>>>>
>>>> Thanks, Sergey
>>>>
>>>>>
>>>>> Thanks!
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Tomasz Oponowicz
>>>
>>
>>
>>
>> --
>> Sergey Beryozkin
>>
>> Application Integration Division of Talend
>> http://sberyozkin.blogspot.com
>>
>
>
>
> --
> Best regards,
> Tomasz Oponowicz
>



-- 
Sergey Beryozkin

Application Integration Division of Talend
http://sberyozkin.blogspot.com

Re: LogBrowser project is on the trunk

Posted by Tomasz Oponowicz <to...@gmail.com>.
Hi Sergey,

Fixed.

The schema of log entry has been changed. From 'eventTimestamp' to 'date'.
Later I will prepare unit test for checking contract between client and server.

On Wed, Apr 20, 2011 at 11:47 AM, Sergey Beryozkin <sb...@gmail.com> wrote:
> Hi Tomasz -
>
> thanks for looking into it - yes, lets try to get it back to normal.
> Lets see if we can realistically work with GWT - effectively we need
> to decide at some point if GWT is what will be used for other similar
> tasks, for getting the log files downloaded, for having another tab
> showing the list of managed components, etc.
>
> Cheers, Sergey
>
> On Wed, Apr 20, 2011 at 10:37 AM, Tomasz Oponowicz
> <to...@gmail.com> wrote:
>> Hi,
>>
>> I've tried to create couple of screenshots but I figured out that
>> nothing is working:
>>
>> - exceptions in sample project;
>> - exceptions in development mode;
>>
>> I'm fixing this.
>>
>> On Mon, Apr 18, 2011 at 11:31 AM, Sergey Beryozkin <sb...@gmail.com> wrote:
>>> Hi Tomasz
>>>
>>> On Sun, Apr 17, 2011 at 9:06 AM, Tomasz Oponowicz
>>> <to...@gmail.com> wrote:
>>>>
>>>> Hi Sergey,
>>>>
>>>> On Wed, Apr 13, 2011 at 7:17 PM, Sergey Beryozkin <sb...@gmail.com>
>>>> wrote:
>>>> > I've finally managed to spend a day today working on Windows, and I did
>>>> > get
>>>> > the exception when using IE too, though, IE itself does subscribe to the
>>>> > log
>>>> > feed without problems.
>>>>
>>>> Grrrr.... I will investigate this one. Can you provide stack trace and
>>>> other details (use case, browser version etc.) ?
>>>>
>>>
>>> The exception was something to do with "null", I'll need to run the browser
>>> in the dev mode to get more details.
>>> It's Windows XP/IE7
>>>
>>>>
>>>> > There's definitely something unstable there which is a pity, it's been a
>>>> > great effort from Tomasz and with the ability to search the logs, it's a
>>>> > feature to miss, it could've been used nicely in conjunction with the
>>>> > the
>>>> > push logging, i.e. critical events are reported asap and then an admin
>>>> > can
>>>> > do a more through analysis of the logs, rather than having all log MBs
>>>> > sent
>>>> > across the network
>>>> >
>>>> > But it does look it works for some people, so we just need to document a
>>>> > bit
>>>> > how to use it as a Maven dependency, untill we figure out what is
>>>> > happening,
>>>> >
>>>> > Tomasz, can you give me a favor please and update the LogBrowser page
>>>> > with few lastest images as I can't get them myself ? I will add some
>>>> > info to
>>>> > the Migration Guide (Maven deps, how to set things up, etc).
>>>>
>>>> Good point. I will update it.
>>>>
>>>
>>>
>>> Please - a couple of snapshots, with some description on how to add a new
>>> endpoint, will help.
>>>
>>>
>>>>
>>>> > One thing I'm thinking about is we basically get rid of GWT code dealing
>>>> > with showing the lists of log entries (top-right panel) and just use
>>>> > HTML
>>>> > returned from the log feed. GWT will only be used to offer the list of
>>>> > endpoints, filters, etc, and may be in time we can just replace GWT with
>>>> > something lighter/simpler.
>>>>
>>>> If you decide that GWT is too big overweight for such a simple task, I
>>>> can rewrite this using Javascript/JQuery/HTML (but firstly let's fix
>>>> this bug).
>>>
>>>
>>> OK. I'll try to get more details. And may be you can reproduce something
>>>>
>>>> > Tomasz, AtomPullServer has getAlternateFeed and getAlternateEntry
>>>> > methods
>>>> > and they serve HTML as opposed to XML feeds.
>>>> > RSSBandit reader on Windows is very good in that it shows alternate
>>>> > feeds
>>>> > and entries properly.
>>>> > I think GWT should have some browser support, so if you could make the
>>>> > top/right panel a browser window which will only show the alternate
>>>> > content,
>>>> > as part of the frame, such that whenever log entry links are clicked,
>>>> > the
>>>> > output is directed to the right-bottom pane..
>>>> > Do you think it will make sense ?
>>>>
>>>> Firstly I will try to fix the bug in the normal way but if there won't
>>>> be any other solution I will replace current implementation with
>>>> "getAlternateFeed" and "getAlternateEntry".
>>>>
>>>> I will update documentation and fix the bug on Monday.
>>>>
>>>
>>> Great, please update the docs if you can.
>>>
>>> Thanks, Sergey
>>>
>>>>
>>>> Thanks!
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Tomasz Oponowicz
>>
>
>
>
> --
> Sergey Beryozkin
>
> Application Integration Division of Talend
> http://sberyozkin.blogspot.com
>



-- 
Best regards,
Tomasz Oponowicz

Re: LogBrowser project is on the trunk

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Tomasz -

thanks for looking into it - yes, lets try to get it back to normal.
Lets see if we can realistically work with GWT - effectively we need
to decide at some point if GWT is what will be used for other similar
tasks, for getting the log files downloaded, for having another tab
showing the list of managed components, etc.

Cheers, Sergey

On Wed, Apr 20, 2011 at 10:37 AM, Tomasz Oponowicz
<to...@gmail.com> wrote:
> Hi,
>
> I've tried to create couple of screenshots but I figured out that
> nothing is working:
>
> - exceptions in sample project;
> - exceptions in development mode;
>
> I'm fixing this.
>
> On Mon, Apr 18, 2011 at 11:31 AM, Sergey Beryozkin <sb...@gmail.com> wrote:
>> Hi Tomasz
>>
>> On Sun, Apr 17, 2011 at 9:06 AM, Tomasz Oponowicz
>> <to...@gmail.com> wrote:
>>>
>>> Hi Sergey,
>>>
>>> On Wed, Apr 13, 2011 at 7:17 PM, Sergey Beryozkin <sb...@gmail.com>
>>> wrote:
>>> > I've finally managed to spend a day today working on Windows, and I did
>>> > get
>>> > the exception when using IE too, though, IE itself does subscribe to the
>>> > log
>>> > feed without problems.
>>>
>>> Grrrr.... I will investigate this one. Can you provide stack trace and
>>> other details (use case, browser version etc.) ?
>>>
>>
>> The exception was something to do with "null", I'll need to run the browser
>> in the dev mode to get more details.
>> It's Windows XP/IE7
>>
>>>
>>> > There's definitely something unstable there which is a pity, it's been a
>>> > great effort from Tomasz and with the ability to search the logs, it's a
>>> > feature to miss, it could've been used nicely in conjunction with the
>>> > the
>>> > push logging, i.e. critical events are reported asap and then an admin
>>> > can
>>> > do a more through analysis of the logs, rather than having all log MBs
>>> > sent
>>> > across the network
>>> >
>>> > But it does look it works for some people, so we just need to document a
>>> > bit
>>> > how to use it as a Maven dependency, untill we figure out what is
>>> > happening,
>>> >
>>> > Tomasz, can you give me a favor please and update the LogBrowser page
>>> > with few lastest images as I can't get them myself ? I will add some
>>> > info to
>>> > the Migration Guide (Maven deps, how to set things up, etc).
>>>
>>> Good point. I will update it.
>>>
>>
>>
>> Please - a couple of snapshots, with some description on how to add a new
>> endpoint, will help.
>>
>>
>>>
>>> > One thing I'm thinking about is we basically get rid of GWT code dealing
>>> > with showing the lists of log entries (top-right panel) and just use
>>> > HTML
>>> > returned from the log feed. GWT will only be used to offer the list of
>>> > endpoints, filters, etc, and may be in time we can just replace GWT with
>>> > something lighter/simpler.
>>>
>>> If you decide that GWT is too big overweight for such a simple task, I
>>> can rewrite this using Javascript/JQuery/HTML (but firstly let's fix
>>> this bug).
>>
>>
>> OK. I'll try to get more details. And may be you can reproduce something
>>>
>>> > Tomasz, AtomPullServer has getAlternateFeed and getAlternateEntry
>>> > methods
>>> > and they serve HTML as opposed to XML feeds.
>>> > RSSBandit reader on Windows is very good in that it shows alternate
>>> > feeds
>>> > and entries properly.
>>> > I think GWT should have some browser support, so if you could make the
>>> > top/right panel a browser window which will only show the alternate
>>> > content,
>>> > as part of the frame, such that whenever log entry links are clicked,
>>> > the
>>> > output is directed to the right-bottom pane..
>>> > Do you think it will make sense ?
>>>
>>> Firstly I will try to fix the bug in the normal way but if there won't
>>> be any other solution I will replace current implementation with
>>> "getAlternateFeed" and "getAlternateEntry".
>>>
>>> I will update documentation and fix the bug on Monday.
>>>
>>
>> Great, please update the docs if you can.
>>
>> Thanks, Sergey
>>
>>>
>>> Thanks!
>>
>>
>
>
>
> --
> Best regards,
> Tomasz Oponowicz
>



-- 
Sergey Beryozkin

Application Integration Division of Talend
http://sberyozkin.blogspot.com

Re: LogBrowser project is on the trunk

Posted by Tomasz Oponowicz <to...@gmail.com>.
Hi,

I've tried to create couple of screenshots but I figured out that
nothing is working:

- exceptions in sample project;
- exceptions in development mode;

I'm fixing this.

On Mon, Apr 18, 2011 at 11:31 AM, Sergey Beryozkin <sb...@gmail.com> wrote:
> Hi Tomasz
>
> On Sun, Apr 17, 2011 at 9:06 AM, Tomasz Oponowicz
> <to...@gmail.com> wrote:
>>
>> Hi Sergey,
>>
>> On Wed, Apr 13, 2011 at 7:17 PM, Sergey Beryozkin <sb...@gmail.com>
>> wrote:
>> > I've finally managed to spend a day today working on Windows, and I did
>> > get
>> > the exception when using IE too, though, IE itself does subscribe to the
>> > log
>> > feed without problems.
>>
>> Grrrr.... I will investigate this one. Can you provide stack trace and
>> other details (use case, browser version etc.) ?
>>
>
> The exception was something to do with "null", I'll need to run the browser
> in the dev mode to get more details.
> It's Windows XP/IE7
>
>>
>> > There's definitely something unstable there which is a pity, it's been a
>> > great effort from Tomasz and with the ability to search the logs, it's a
>> > feature to miss, it could've been used nicely in conjunction with the
>> > the
>> > push logging, i.e. critical events are reported asap and then an admin
>> > can
>> > do a more through analysis of the logs, rather than having all log MBs
>> > sent
>> > across the network
>> >
>> > But it does look it works for some people, so we just need to document a
>> > bit
>> > how to use it as a Maven dependency, untill we figure out what is
>> > happening,
>> >
>> > Tomasz, can you give me a favor please and update the LogBrowser page
>> > with few lastest images as I can't get them myself ? I will add some
>> > info to
>> > the Migration Guide (Maven deps, how to set things up, etc).
>>
>> Good point. I will update it.
>>
>
>
> Please - a couple of snapshots, with some description on how to add a new
> endpoint, will help.
>
>
>>
>> > One thing I'm thinking about is we basically get rid of GWT code dealing
>> > with showing the lists of log entries (top-right panel) and just use
>> > HTML
>> > returned from the log feed. GWT will only be used to offer the list of
>> > endpoints, filters, etc, and may be in time we can just replace GWT with
>> > something lighter/simpler.
>>
>> If you decide that GWT is too big overweight for such a simple task, I
>> can rewrite this using Javascript/JQuery/HTML (but firstly let's fix
>> this bug).
>
>
> OK. I'll try to get more details. And may be you can reproduce something
>>
>> > Tomasz, AtomPullServer has getAlternateFeed and getAlternateEntry
>> > methods
>> > and they serve HTML as opposed to XML feeds.
>> > RSSBandit reader on Windows is very good in that it shows alternate
>> > feeds
>> > and entries properly.
>> > I think GWT should have some browser support, so if you could make the
>> > top/right panel a browser window which will only show the alternate
>> > content,
>> > as part of the frame, such that whenever log entry links are clicked,
>> > the
>> > output is directed to the right-bottom pane..
>> > Do you think it will make sense ?
>>
>> Firstly I will try to fix the bug in the normal way but if there won't
>> be any other solution I will replace current implementation with
>> "getAlternateFeed" and "getAlternateEntry".
>>
>> I will update documentation and fix the bug on Monday.
>>
>
> Great, please update the docs if you can.
>
> Thanks, Sergey
>
>>
>> Thanks!
>
>



-- 
Best regards,
Tomasz Oponowicz

Re: LogBrowser project is on the trunk

Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Tomasz

On Sun, Apr 17, 2011 at 9:06 AM, Tomasz Oponowicz <
tomasz.oponowicz@gmail.com> wrote:

> Hi Sergey,
>
> On Wed, Apr 13, 2011 at 7:17 PM, Sergey Beryozkin <sb...@gmail.com>
> wrote:
> > I've finally managed to spend a day today working on Windows, and I did
> get
> > the exception when using IE too, though, IE itself does subscribe to the
> log
> > feed without problems.
>
> Grrrr.... I will investigate this one. Can you provide stack trace and
> other details (use case, browser version etc.) ?
>
>
The exception was something to do with "null", I'll need to run the browser
in the dev mode to get more details.
It's Windows XP/IE7


> > There's definitely something unstable there which is a pity, it's been a
> > great effort from Tomasz and with the ability to search the logs, it's a
> > feature to miss, it could've been used nicely in conjunction with the the
> > push logging, i.e. critical events are reported asap and then an admin
> can
> > do a more through analysis of the logs, rather than having all log MBs
> sent
> > across the network
> >
> > But it does look it works for some people, so we just need to document a
> bit
> > how to use it as a Maven dependency, untill we figure out what is
> happening,
> >
> > Tomasz, can you give me a favor please and update the LogBrowser page
> > with few lastest images as I can't get them myself ? I will add some info
> to
> > the Migration Guide (Maven deps, how to set things up, etc).
>
> Good point. I will update it.
>
>

Please - a couple of snapshots, with some description on how to add a new
endpoint, will help.



> > One thing I'm thinking about is we basically get rid of GWT code dealing
> > with showing the lists of log entries (top-right panel) and just use HTML
> > returned from the log feed. GWT will only be used to offer the list of
> > endpoints, filters, etc, and may be in time we can just replace GWT with
> > something lighter/simpler.
>
> If you decide that GWT is too big overweight for such a simple task, I
> can rewrite this using Javascript/JQuery/HTML (but firstly let's fix
> this bug).
>

OK. I'll try to get more details. And may be you can reproduce something

>
> > Tomasz, AtomPullServer has getAlternateFeed and getAlternateEntry methods
> > and they serve HTML as opposed to XML feeds.
> > RSSBandit reader on Windows is very good in that it shows alternate feeds
> > and entries properly.
> > I think GWT should have some browser support, so if you could make the
> > top/right panel a browser window which will only show the alternate
> content,
> > as part of the frame, such that whenever log entry links are clicked, the
> > output is directed to the right-bottom pane..
> > Do you think it will make sense ?
>
> Firstly I will try to fix the bug in the normal way but if there won't
> be any other solution I will replace current implementation with
> "getAlternateFeed" and "getAlternateEntry".
>
> I will update documentation and fix the bug on Monday.
>
>
Great, please update the docs if you can.

Thanks, Sergey


> Thanks!
>

Re: LogBrowser project is on the trunk

Posted by Tomasz Oponowicz <to...@gmail.com>.
Hi Sergey,

On Wed, Apr 13, 2011 at 7:17 PM, Sergey Beryozkin <sb...@gmail.com> wrote:
> I've finally managed to spend a day today working on Windows, and I did get
> the exception when using IE too, though, IE itself does subscribe to the log
> feed without problems.

Grrrr.... I will investigate this one. Can you provide stack trace and
other details (use case, browser version etc.) ?

> There's definitely something unstable there which is a pity, it's been a
> great effort from Tomasz and with the ability to search the logs, it's a
> feature to miss, it could've been used nicely in conjunction with the the
> push logging, i.e. critical events are reported asap and then an admin can
> do a more through analysis of the logs, rather than having all log MBs sent
> across the network
>
> But it does look it works for some people, so we just need to document a bit
> how to use it as a Maven dependency, untill we figure out what is happening,
>
> Tomasz, can you give me a favor please and update the LogBrowser page
> with few lastest images as I can't get them myself ? I will add some info to
> the Migration Guide (Maven deps, how to set things up, etc).

Good point. I will update it.

> One thing I'm thinking about is we basically get rid of GWT code dealing
> with showing the lists of log entries (top-right panel) and just use HTML
> returned from the log feed. GWT will only be used to offer the list of
> endpoints, filters, etc, and may be in time we can just replace GWT with
> something lighter/simpler.

If you decide that GWT is too big overweight for such a simple task, I
can rewrite this using Javascript/JQuery/HTML (but firstly let's fix
this bug).

> Tomasz, AtomPullServer has getAlternateFeed and getAlternateEntry methods
> and they serve HTML as opposed to XML feeds.
> RSSBandit reader on Windows is very good in that it shows alternate feeds
> and entries properly.
> I think GWT should have some browser support, so if you could make the
> top/right panel a browser window which will only show the alternate content,
> as part of the frame, such that whenever log entry links are clicked, the
> output is directed to the right-bottom pane..
> Do you think it will make sense ?

Firstly I will try to fix the bug in the normal way but if there won't
be any other solution I will replace current implementation with
"getAlternateFeed" and "getAlternateEntry".

I will update documentation and fix the bug on Monday.

Thanks!

> Cheers, Sergey
>
> On Thu, Mar 31, 2011 at 4:18 PM, Sergey Beryozkin <sb...@gmail.com>
> wrote:
>>
>> I've added NOTICE to the rt/management-web only as I'm still seeing all
>> sort of crashes on Ubuntu, it does look like my environment is somehow
>> broken for GWT to work properly as Tomasz did confirm iy was working ok on
>> Ubuntu for him. I''ll try to confirm that it is all working on Windows and
>> after that I'll update the distribution.
>>
>> It would be good if few more people tried a logbrowser demo in the
>> distribution - it is very easy to run...I think if we can get at least one
>> more crash report then we might want to consider 'distributing' the
>> logbrowser as a Maven dependency only. I hope it's my Ubuntu distribution
>> only (old enough already) that is not stable...
>>
>> Cheers, Sergey
>>
>> On Wed, Mar 16, 2011 at 2:21 AM, Daniel Kulp <dk...@apache.org> wrote:
>>>
>>> On Tuesday 15 March 2011 6:25:14 PM Tomasz Oponowicz wrote:
>>> > > Probably one open issue is to figure out what to do with different
>>> > > .js
>>> > > scripts. ? The scripts which are in the rt/management-web module, can
>>> > > they be Apache licensed ? Dan - what do you think ?
>>> >
>>> > There are:
>>> >
>>> > * json2.min.js - Public Domain;
>>> > * uuid.min.js - Dual licensed under the MIT and GPL licenses;
>>>
>>> Both licenses are fine, but we need to note them in the NOTICE file.
>>>
>>> You'll need to create a
>>> src/main/appended-resources/META-INF/NOTICE
>>> file that contains whatever text would be required.
>>>
>>> For example, in the javascript module, the NOTICE there has:
>>>
>>> Portions of the file cxf-utils.js derives from code marked:
>>> This code was written by Tyler Akins and has been placed in the
>>> public domain.  It would be nice if you left this header intact.
>>> Base64 code from Tyler Akins -- http://rumkin.com
>>>
>>> You can use that as a guideline.
>>>
>>> You'll also need to update
>>> distribution/src/main/appended-resources/META-INF/NOTICE
>>> with the same info for the release assemplies to pick up.
>>>
>>>
>>> --
>>> Daniel Kulp
>>> dkulp@apache.org
>>> http://dankulp.com/blog
>>> Talend - http://www.talend.com
>>
>>
>



-- 
Best regards,
Tomasz Oponowicz