You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Velle Andrè <An...@netcom-gsm.no> on 2001/10/12 10:26:07 UTC

2 Problems with Cocoon 2.0rc1a on Weblogic 6.1, one solution

Hi,

I have had problems deploying cocoon 20 rc1a on weblogic 6.1 (both on
Win2k). I have had two separate problems, one of which I have solved:

1) Cocoon won't load at all, Weblogic is unable to recompile the app (It
does this with all webapps).
Solution: Remove xt.jar from cocoon.war

2) Cocoon now loads, but is unable to deploy, with a NullPointerException as
the logger is started.. After some hunting through the source (both of
weblogic and cocoon), I have found that the problem is the use of
ServletContext.getRealPath. As it is stated in the specification from Sun
that it can, Weblogic returns null for any application deployed as a WAR.
This behavior persists even if the application is exploded onto disk - WL6.1
still treats it the same as a war file (recompilation and all)

Anyone had any luck working around this problem? Anyone deployed on WL6.1
without seeing it?

BTW, I have found that this problem was spesifically addressed in the cocoon
1.8 tree.
Does anybody know if there are any plans to address this for 2.0 release?

Regards,
André Velle

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>