[gatein-issues] [JBoss JIRA] Created: (GTNMGMT-5) Gadget does not show up under https

Martin Weiler (JIRA) jira-events at lists.jboss.org
Mon Mar 14 10:27:46 EDT 2011


Gadget does not show up under https
-----------------------------------

                 Key: GTNMGMT-5
                 URL: https://issues.jboss.org/browse/GTNMGMT-5
             Project: GateIn Management
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 1.0.0-Alpha01
         Environment: EPP 5.1.0 + https (using self-signed certificate), following the instructions from http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.1/html/Installation_Guide/sect-Installation_Guide-HTTPS_Configuration-Generate_Key.html
            Reporter: Martin Weiler
            Assignee: Nick Scavelli


Other gagdets work, but adding the Export/Import Tool gadget to a page only results in a blank frame without content. 

This is the DEBUG level logging output:

15:22:39,784 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) >> "GET /rest/jcr/repository/portal-system/production/app:gadgets/app:ExportImportTool/app:data/app:resources/org.gatein.management.gadget.client.Application.gadget.xml HTTP/1.1[\r][\n]"
15:22:39,788 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) >> "Accept-Encoding: gzip, deflate[\r][\n]"
15:22:39,788 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) >> "Pragma: no-cache[\r][\n]"
15:22:39,788 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) >> "X-shindig-dos: on[\r][\n]"
15:22:39,788 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
15:22:39,788 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) >> "Host: localhost:8443[\r][\n]"
15:22:39,788 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) >> "[\r][\n]"

15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "HTTP/1.1 200 OK[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "HTTP/1.1 200 OK[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "Server: Apache-Coyote/1.1[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "cache-control: no-cache[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "last-modified: Mon, 14 Mar 2011 14:15:56 GMT[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "accept-ranges: bytes[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "Content-Type: application/x-google-gadget[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "Content-Length: 4558[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "Date: Mon, 14 Mar 2011 14:22:38 GMT[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.header] (http-127.0.0.1-8443-9) << "[\r][\n]"
15:22:39,823 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "<?xml version="1.0" encoding="UTF-8"?><Module><ModulePrefs author="Nabil Benothman" author_email="nbenothm at redhat.com" description="This gadget allows the administrator to export/import sites" title="Export/Import Tool"/><Content type="html"><![CDATA[<script>function gwtgadget(){var J='',R='" for "gwt:onLoadErrorFn"',T='" for "gwt:onPropertyErrorFn"',kb='">',Bb='"><\/script>',Z='&',zb='.cache.js',yb='.cache.js$',O='/',qb='2.1',rb='2A586C357D8B8FD6B8AAA69BAA5F1FC5',sb='51DEBEB0E50E92164F8A61BF7AEDCBA1',tb='69A7BEA989D65486ACE6CBB078790BB7',xb=':',jb='<link rel="stylesheet" href="',Ab='<script src="',V='=',ub='A27F426BDBF185C7451F7372036648C1',lb='Application.css',Q='Bad handler "',vb='D7086081C18A8F867BA7C80C20F35E44',wb='F726813FB117AD9CBDEA2A9ED02EF6D3',mb='Upload.css',Y='_',X='country',M='external.gwtOnLoad failed: ',fb='gecko',gb='gecko1_8',K='gwt.hybrid',ib='gwt/standard/standard.css',P='gwt:onLoadErrorFn',S='gwt:onPropertyErrorFn',U='gwt:property',L='gwtgadget',eb='ie6',db='ie8',W='lang',ob='moduleStartup',cb='msie',pb='onModuleLoadStart',_='opera',bb='safari',nb='startup',hb='unknown',N='url',$='user.agent',ab='webkit';var h=window,i=document,j=h.external,k,l,m=J,n={},o=[],p=[],q=[],r=0,s,t,u=h.__gwtStatsEvent?function(a){return h.__gwtStatsEvent(a)}:null;if(!h.__gwt_stylesLoaded){h.__gwt_stylesLoaded={}}if(!h.__gwt_scriptsLoaded){h.__gwt_scriptsLoaded={}}function v(){try{return j&&(j.gwtOnLoad&&h.location.search.indexOf(K)==-1)}catch(a){return false}}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "function w(){if(l){if(v()){try{j.gwtOnLoad(h,L,r)}catch(a){h.alert(M+a)}}else if(k){k(s,L,m,r)}}}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "function x(){m=h.gadgets.util.getUrlParameters()[N];m=m.substring(0,m.lastIndexOf(O)+1)}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "function y(){var b;var c=new h.gadgets.Prefs;if(b=c.getString(P)){try{s=eval(b)}catch(a){alert(Q+e+R)}}if(b=c.getString(S)){try{t=eval(b)}catch(a){alert(Q+e+T)}}if(b=c.getArray(U)){for(var d=0;d<b.length;d++){var e=b[d];if(e){var f,g=e.indexOf(V);if(g>=0){name=e.substring(0,g);f=e.substring(g+1)}else{name=e;f=J}n[name]=f}}}}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "function z(){var a=h.location.search;var b=A(a,W);if(b!=null){country=A(a,X);if(country!=null){h.__gwt_Locale=b+Y+country}else{h.__gwt_Locale=b}}}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "function A(a,b){var c=a.indexOf(b+V);if(c<0){return undefined}var d=a.substring(c);var e=d.indexOf(V)+1;var f=d.indexOf(Z);if(f==-1){f=d.length}return d.substring(e,f)}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "function D(a,b){var c=q;for(var d=0,e=a.length-1;d<e;++d){c=c[a[d]]||(c[a[d]]=[])}c[a[e]]=b}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "function E(a){var b=p[a](),c=o[a];if(b in c){return b}var d=[];for(var e in c){d[c[e]]=e}if(t){t(a,d,b)}throw null}[\n]"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "p[$]=function(){var b=navigator.userAgent.toLowerCase();var c=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(b.indexOf(_)!=-1){return _}else if(b.indexOf(ab)!=-1){return bb}else if(b.indexOf(cb)!=-1){if(document.documentMode>=8){return db}else{var d=/msie ([0-9]+)\.([0-9]+)/.exec(b);if(d&&d.length==3){var e=c(d);if(e>=6000){return eb}}}}else if(b.indexOf(fb)!=-1){var d=/rv:([0-9]+)\.([0-9]+)/.exec(b);if(d&&d.length==3){if(c(d)>=1008)return gb}return fb}return hb};o[$]={gecko:0,gecko1_8:1,ie6:2,ie8:3,opera:4,safari:5};gwtgadget.onScriptLoad=function(a){gwtgadget=null;k=a;w()};x();y();z();h.gadgets.util.registerOnLoadHandler(function(){if(!l){l=true;if(!__gwt_stylesLoaded[ib]){__gwt_stylesLoaded[ib]=true;document.write(jb+gadgets.io.getProxyUrl(m+ib)+kb)}if(!__gwt_stylesLoaded[lb]){__gwt_stylesLoaded[lb]=true;document.write(jb+gadgets.io.getProxyUrl(m+lb)+kb)}if(!__gwt_stylesLoaded[mb]){__gwt_stylesLoaded[mb]=true;document.write(jb+gadgets.io.getProxyUrl(m+mb)+kb)}w()}});if(v()){h.$wnd=h;h.$doc=i;h.$moduleName=L;h.$moduleBase=m;h.__gwt_getProperty=E;h.__gwt_initHandlers=gwtgadget.__gwt_initHandlers;h.__gwt_module_id=0;h.fireOnModuleLoadStart=function(a){u&&u({moduleName:$moduleName,subSystem:nb,evtGroup:ob,millis:(new Date).getTime(),type:pb,className:a})};h.onunload=function(){j.gwtOnLoad(h,null,qb)}}else{var F;try{D([bb],rb);D([gb],sb);D([eb],tb);D([_],ub);D([fb],vb);D([db],wb);F=q[E($)];var G=F.indexOf(xb);if(G!=-1){r=Number(F.substring(G+1));F=F.substring(0,G)}}catch(a){return}var H=m+F;if(H.search(yb)<0){H=H.concat(zb)}var I=h.gadgets"
15:22:39,832 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << ".io.getProxyUrl(H,{refreshInterval:31536000});i.write(Ab+I+Bb)}}[\n]"
15:22:39,833 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "gwtgadget.__gwt_initHandlers=function(d,e,f){var g=window,h=g.onresize,i=g.onbeforeunload,j=g.onunload;g.onresize=function(a){try{d()}finally{h&&h(a)}};g.onbeforeunload=function(a){var b,c;try{b=e()}finally{c=i&&i(a)}if(b!=null){return b}if(c!=null){return c}};g.onunload=function(a){try{f()}finally{j&&j(a)}}};gwtgadget();</script>[\n]"
15:22:39,833 DEBUG [httpclient.wire.content] (http-127.0.0.1-8443-9) << "<div id="__gwt_gadget_content_div"></div>]]></Content></Module>[\n]"
15:22:39,833 INFO  [org.apache.shindig.common.xml.XmlUtil] (http-127.0.0.1-8443-9) Created a new document builder
15:22:39,849 FINE  [net.sf.ehcache.store.MemoryStore] (http-127.0.0.1-8443-9) expressionsCache: expressionsMemoryStore miss for ${Cur['gadgets.features'].views['canvas'].aliases}
15:22:39,849 FINE  [net.sf.ehcache.Cache] (http-127.0.0.1-8443-9) expressions cache - Miss
15:22:39,917 FINE  [net.sf.ehcache.store.MemoryStore] (http-127.0.0.1-8443-9) parsedDocumentsCache: parsedDocumentsMemoryStore miss for ޠ����J�1-�H�
15:22:39,917 FINE  [net.sf.ehcache.Cache] (http-127.0.0.1-8443-9) parsedDocuments cache - Miss
15:22:40,014 INFO  [org.apache.shindig.gadgets] (http-127.0.0.1-8443-9) Added to cache. Size is now: 2

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the gatein-issues mailing list