Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Uncaught errors WAS8 + Chrome(RAP not working on Websphere 8 and Chrome)
Uncaught errors WAS8 + Chrome [message #1259322] Fri, 28 February 2014 08:54 Go to next message
John Gymer is currently offline John Gymer
Messages: 189
Registered: November 2012
Location: UK
Senior Member
Slightly odd problem that perhaps someone has an idea about...
A customer of ours has put together a very simple calculator application and deployed it as a WAR to WebSphere 8, and this application works ok on IE8 and FF but they just get the grey shaded RAP background and a couple of errors in the Chrome console when using Chrome:

index.php/fa/17603/0/

However, it works ok on our WAS8 server with IE, FF and Chrome.

Do the messages at the bottom give any clues as to what has gone wrong in the RAP client JS?

Thanks, John


---
Just because you can doesn't mean you should
Re: Uncaught errors WAS8 + Chrome [message #1263317 is a reply to message #1259322] Tue, 04 March 2014 11:18 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 386
Registered: July 2009
Senior Member
Hi.

Hard to say, the error message is actually kind of mystifying. There are
a few lines in the code that could cause this:

var language = ( this._engineName.indexOf( "mshtml" ) !== -1 )
? navigator.userLanguage
: navigator.language;
var browserLocale = language.toLowerCase();

But I don' see why navigator.language should be undefined, and it
doesn't explain why there isn't a proper error message on screen. Is
there any custom javascript involved? (Custom widget, HTML added to the
documents head or body, things done by JavaScriptExecuter, Client
Scripting, etc...)

It could also be interesting to see the network protocol. You can save
it in chrome by right-clicking into the network tab.

Greetings,
Tim



Am 28.02.2014 09:54, schrieb John Gymer:
> Slightly odd problem that perhaps someone has an idea about...
> A customer of ours has put together a very simple calculator application and deployed it as a WAR to WebSphere 8, and this application works ok on IE8 and FF but they just get the grey shaded RAP background and a couple of errors in the Chrome console when using Chrome:
>
>
>
> However, it works ok on our WAS8 server with IE, FF and Chrome.
>
> Do the messages at the bottom give any clues as to what has gone wrong in the RAP client JS?
>
> Thanks, John
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Deploying RAP Application
Next Topic:IE8 / TableViewer javascript error
Goto Forum:
  


Current Time: Mon Oct 20 04:35:28 GMT 2014

Powered by FUDForum. Page generated in 0.06655 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software