[wsas-java-dev] Websphere, WSAS and Servlet, Filter Loading
Afkham Azeez
azeez at wso2.com
Sun Aug 19 22:29:06 PDT 2007
Upul Godage wrote:
> Hi,
>
> Just an update.
>
> I updated the phases from the working standalone server in the local
> machine for now. MainServlet initializes without any errors. WSAS
> starts fine, seen from the logs.
>
> Login page loads fine. But login fails with "XmlHttpRequest permission
> denied". There is a missing 'global_params.js' in
> /wsas/modules/www/extensions/core/js.html. I could not find the file
> anywhere. When JavaScript was debugged, the URL used by Ajax calls have
> a lot of 'undefined' parts. May be because of params file.
>
>
The global_params.js file is not required to be in physical existence.
When a request for this particular file is received, the
AdminUIServletFilter will inject the contents of this file. However, in
the case of WebSphere, it check for the physical exitence of the file
first, before handing down the control to the filter. Since the
global_params.js file is not in the file system, WebSphere throws a
FileNotFoundException. IMHO, this is a WebSphere bug. However, to make
WebSphere happy, I'm including an empty global_params.js file in the
Admin UI framework.
> Also on a side note, docs link in the login page looks for docs/* in the
> war file. But there was no docs directory in the war that was generated
> for me.
>
I'll look into this.
> Upul
More information about the Wsas-java-dev
mailing list