Hello,
I am using webseal to map my application URLs to domain wide URLs.
Ex:
https://mydomain.test.com:8080/GEN/dwris mapped to
https://mywebsealdomain.test.com/GENTEST/GEN/dwr
and I am accessing my domain using the second URL.
I experienced the infamous javascript "internal error" popup message. I thought it was something related with URL composition and I was right when I opened my dynamically generated javascript:
// Provide a default path to dwr.engine
if (dwr == null) var dwr = {};
if (dwr.engine == null) dwr.engine = {};
if (DWREngine == null) var DWREngine = dwr.engine;
if (PojoService == null) var PojoService = {};
PojoService._path = '/GEN/dwr';
PojoService.execute = function(p0, callback) {
dwr.engine._execute(PojoService._path, 'PojoService', 'execute', p0, callback);
}
as you can see, the PojoService._path = '/GEN/dwr'; isn't generated after the mapping that I made on webseal, but it took the web context, the dwr servlet name mapping and store it inside the javascript file.
I am new to DWR technology and I would like to know whether there's is any well-known mechanism to bypass this problem, because I found nothing useful in the documentation, but of course I may be wrong.
Thank you a lot