Topic on Project:Support desk (talkcontribs)

Hello, we currently use MediaWiki on Windows 2003, however we're looking to upgrade this to a Windows 2016 server with JBOSS EAP 7.0.8. please can you confirm if the mediawiki software supports JBOSS?



Ciencia Al Poder (talkcontribs)

JBOSS is for Java, if I've read correctly. MediaWiki runs with PHP, not Java, so I guess it won't work. On windows you should use IIS or Apache, with php, or any other webserver that can run PHP (talkcontribs)


thanks for your reply. for web servers, our standard is now JBOSS, so I'm trying to determine if it can be used\is compatible.

I've been advised that JBOSS can be used in conjunction with PHP.



StrangeIcecream (talkcontribs)

We have deployed mediawiki1.26 successfully on JEAP7.0 but failed to run latest version of mediawiki(v1.35+).

when loading mediawiki index page, it says "Refused to execute script from xxx because its MIME type ('text/css') is not executable, and strict MIME type checking is enabled."

I suppose it's relevant with mime type interpretation on JEAP but have no idea how to resolve this. Any suggestion?

Malyacko (talkcontribs)

@StrangeIcecream What does the log of the webserver software say? Which exact "script" is this about?

StrangeIcecream (talkcontribs)

e.g. : /load.php?lang=zh-cn&modules=startup&only=scripts&raw=1&skin=vector. the error is showing up at every time loading page.


I tried to monitor server log but nothing shown in console.

TheDJ (talkcontribs)

This means that the url to load the initial javascript payload for mediawiki is returning CSS as the mime type on the response header. You'll have to figure out if the server is overwriting the mime type that mediawiki is returning, or if the routing is somehow not correctly setup.

Of note to a system admin is that load.php can return both javascript and css, and that this content is dynamic, depending on the query arguments. It might be that this confuses JBOSS and needs some special configuration or caching setup to take this into account.

Reply to "JBOSS support"