There are a few core classes in the Turbine code which use "getRealPath" and they cause a lot of problems - especialy on any version of WebLogic. I noticed the problem first when running Jetspeed1.4 (which uses turbine 2.2). I checked to see if Turbine 2.3 fixed the problem - the code is almost exactly the same - so no fix there. I have not checked Turbine 3.0 yet, but the comments in 2.3 say it will be the same in 3.0.

The problem is two parts. First, when deploying in a war file the getRealPath does not work at all in WebLogic - it returns null. Second, when deploying as an exploded war instead, other files will fail to load. The fix seems to be to use getResource instead. Others have modified the turbine code to use this, and fixed the problem, but it is not part of the standard turbine development.

What are the possibilities of having someone in turbine development make the appropriate changes (i.e. check for nulls, and valid path and use getResource instead)?

Thank you,
Josh Fuller

_________________________________________________________________
MSN Messenger with backgrounds, emoticons and more. http://www.msnmessenger-download.com/tracking/cdp_customize



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



Reply via email to