|
From: Ian S. <ian...@tr...> - 2007-12-29 18:40:15
|
As for the buffer overrun, I sure hope that's an M$ problem not ours. For now, let's try to fix the ones I know we can make progress on. If that persists, we'll address it. That URL you sent was dated 2006, so let's hope that specific problem has been fixed. The velocity.log you sent looks a lot like the one on my system. Although we should correct things so that 1) the log is documented as a potential place to look for problems and 2) we improve our use of velocity to generate fewer scary looking log messages, I think it's fine. It's definitely not the problem you describe below. I'd like to see the message that you get about pointing JAVA_HOME to the JRE as opposed to the JDK. I think there are two environment variables, JAVA_HOME and JDK_HOME, which are designed to be different. JAVA_HOME should point to where the bin directory is that contains "java" as far as I understand it. Thus, pointing it to the JRE seems correct. Is there some difference I don't know about on windows? The problem with the media directory is definately a windows interaction with java. Here's what you said you were using: <Environment name="mediaDirectory" value="C:\Ogoglio\tmp\working\media" type="java.lang.String"/> However, this gets interpreted by java code so the backslashes should be escaped, like this: <Environment name="mediaDirectory" value="C:\\Ogoglio\\tmp\\working\\media" type="java.lang.String"/> The reason you saw the weird output "C:Ogoglio mpworkingmedia" was because the \O was interpreted by java as "O" the \t as a horizontal tab (that's the space in the string!) the \w as a "w" and the \m as an "m". I hope that you can get things going now. I'll update the wiki to explain this problem to windows users. Thanks VERY much for your patience here, ian ps. St. Etienne 0 - 1 PSG! -- ///////////////////////////////////////// Ian Smith, CTO, Transmutable Networks LLC Emai: ian...@tr... Mobi: +1.415.867.6532 Blog: http://blog.iansmith.name Phys: shores of puget sound ///////////////////////////////////////// |