I explored this issue a little bit, and here's what I came to. This is the relevant part of the log, when the problem occurs:

2005-11-09 13:53:52,589 DEBUG [flow] usecases.js::executeUsecase() in usecase ac.login, completed, redirecting to url = [null/default/authoring/index.html] 2005-11-09 13:53:52,590 INFO [sitemap] Redirecting to 'null/default/authoring/index.html' 2005-11-09 13:53:52,590 DEBUG [access] Sending redirect to 'null/default/authoring/index.html' 2005-11-09 13:53:52,590 INFO [access] 'default/authoring/index.html' Processed by Apache Cocoon 2.1.8-rc1 in 59 milliseconds.
2005-11-09 13:53:52,649 DEBUG [core.cocoon] DEBUGGING INFORMATION:
REQUEST: /lenya-1.4/default/authoring/null/default/authoring/index.html


The url is formed in the usecases.js (located in the lenya/usecases directory of the .war), here is the relevant part:

    var url = request.getContextPath() + targetUrl;

    if (cocoon.log.isDebugEnabled())
cocoon.log.debug("usecases.js::executeUsecase() in usecase " + usecaseName + ", completed, redirecting to url = [" + url + "]");

    cocoon.redirectTo(url);

I added a debug statement that prints (logs) request.getContextPath(), and the [null] value was printed! However, this only happends when the .war is deployed on JBoss - everything works fine on Jetty.

Any help/pointers is highly appreciated.

Kindest regards,
Damjan S. Vujnovic

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to