[rules-users] Configure Drools GWT Console for non-localhost server

Bob Wilson robert.e.t.wilson at googlemail.com
Tue Feb 16 09:49:43 EST 2010


With a bit more investigation, it appears that the problem is in
ConsoleConfig.java -

  String base = GWT.getHostPageBaseURL();

this is returning http://localhost:8080/ instead of http://1.2.3.4:8080/ -
is there a way to fix this? I've never used GWT before..

On Tue, Feb 16, 2010 at 2:21 PM, robert.e.t.wilson <
robert.e.t.wilson at googlemail.com> wrote:

>
> Hi,
>
> I have gwt-console and gwt-console-server 5.1.0.M1 deployed to jboss at
> http://1.2.3.4:8080/. It works fine until it tries to generate a link to
> gwt-server-console (i.e.
> http://1.2.3.4:8080/gwt-console-server/path/to/task/form), but instead
> links
> to localhost (http://localhost:8080/gwt-console-server/path/to/task/form).
> I've tried searching for ways to configure this, but most information seems
> out of date.
>
> It seems that editing the console.config.js and adding a consoleServerUrl
> variable does not change this behavious. Please can someone let me know how
> I configure this, or point me towards some more up to date documentation.
>
> Cheers, Rob.
> --
> View this message in context:
> http://n3.nabble.com/Configure-Drools-GWT-Console-for-non-localhost-server-tp211011p211011.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100216/83de88e7/attachment.html 


More information about the rules-users mailing list