cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akitoshi Yoshida (JIRA)" <>
Subject [jira] [Commented] (CXF-5962) Make LogBrowser sample also run in OSGi
Date Wed, 20 Aug 2014 09:35:26 GMT


Akitoshi Yoshida commented on CXF-5962:

describing the status below:

the pushed code works fine on karaf (see README.txt for how to try it out) except at loading
the persistent settings file. So you can see the logs etc but you will see the error message
whenever the settings file is accessed. I am looking into this (if anyone has an idea, please
let me know ;-)

so far what i see is that the gwt generarted codein cxf-rt-management-web has the following
js fragment

function w9(a){var b,c,d;if(a.b==null){b=(c=$doc.location.href,d=c.indexOf(Bjb),d!=-1&&(c=c.substring(0,d)),d=c.indexOf('?'),d!=-1&&(c=c.substring(0,d)),d=c.lastIndexOf(skb),d!=-1&&(c=c.substring(0,d)),c.length>0?c+skb:xgb);y2(b,Ekb)?(a.b=I2(b,0,b.lastIndexOf(Ekb))+'/settings'):(a.b='/log/browser/settings')}return

and because of this, it seems the browser tries to fetch the settings file from

and not from the correct place

when the generated fragment is manually changed to 
function w9(a){var b,c,d;if(a.b==null){b=(c=$doc.location.href,d=c.indexOf(Bjb),d!=-1&&(c=c.substring(0,d)),d=c.indexOf('?'),d!=-1&&(c=c.substring(0,d)),d=c.lastIndexOf(skb),d!=-1&&(c=c.substring(0,d)),c.length>0?c+skb:xgb);y2(b,Ekb)?(a.b=I2(b,0,b.lastIndexOf(Ekb))+'/settings'):(a.b='settings')}return

the loading of the settings works fine for both in standalone and osgi and there will be no

> Make LogBrowser sample also run in OSGi
> ---------------------------------------
>                 Key: CXF-5962
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Management, Samples
>            Reporter: Akitoshi Yoshida
>            Assignee: Akitoshi Yoshida
> Make CXF's LogBrowser sample code also deployable on OSGi.

This message was sent by Atlassian JIRA

View raw message