RE: Keel Newbie
"Michael Brown" <mbrown-eF/6sKaX9siBzX1v5qEA5/[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Organization | Brown Technology Consulting |
| Message-ID | <[email protected]> |
Found the problem...
For some reason the line
File overrideDirFile = new File(overrideDir);
Found at line 801 in KeelContainerFactory.java
Creates the file with its path equal to the webapp directory with
overrideDir appended to it
(in my instance d:\java\keel-2_1\app-cms\webapp\d:\java\keel-2_1\app-cms)
Of course there is no such directory.
Like I said, my quick fix was to change the config.overide to ..\
It could be the fact that we are using this:
if (!overrideDir.endsWith("/")) {
overrideDir = overrideDir + "/";
if (!overrideDir.endsWith(System.getProperty("file.separator"))) {
overrideDir = overrideDir +
System.getProperty("file.separator");
}
-----Original Message-----
From: keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org
[mailto:keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org] On Behalf
Of Michael Brown
Sent: Sunday, February 20, 2005 8:37 PM
To: developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected]
Subject: RE: [Keelgroup] Keel Newbie
Okay...I did a day of tinkering and finally have things working. Here is
what I did...
Edited the application's web.xml file (changing config.overide to use a
relative path ..\)
I then copied keel.properties from the default sample project directory
(without doing this createdb would error out because it couldn't create a
persistence service instance).
It seems like whatever class is picking up the config.overide setting is
getting it relative to the classloader (probably calling getResource() or
something like that...actually I'm going to go bug hunting and find this
thing. Regardless of the bug, we need to either update the documentation to
tell the users to copy the keel.properties file from the setup of their
choice, or have the build-script handle it.
-----Original Message-----
From: keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org
[mailto:keelgroup-keelframework.com-admin-rI8AND0JKYOgdSakss0wQjGcDxdMUgRv@public.gmane.org] On Behalf
Of Stephen Davidson
Sent: Sunday, February 20, 2005 8:13 PM
To: developers-6VIttnCrOeJXNEnpj1eHPNi2O/[email protected]
Subject: Re: [Keelgroup] Keel Newbie
Raoul Pierre wrote:
> Stephen Davidson a écrit :
>
>>
>> Would this just be a recent fix has not yet propogated to
>> http://j2eeguys.com/~Keel, or is there an actual error there? The
>> deploy on j2eeguys.com is about 2 days behind CVS (Sourceforge
>> propogation, + scripts only update once a day). So if this was only
>> fixed yesterday, than it would be a day or two before it made it out
>> to the nightly build. If it was fixed longer ago than 2 days, then
>> there is some issue that I need to look at and address. (Might need
>> to reinit the project or something).
>>
>> Let me know.
>>
>
> In CVS, the last change of AbstractWebappClientConnector.java is
> dated 2005/02/06 (rev. 1.11).
>
> Pierre
Arrrgghhh.... I was hoping you would say 2005/02/19 or something.
Ok, I will have a look.
Regards,
Steve
--
Java/J2EE Developer/Integrator
Stephen Davidson and Associates, Inc.
Vice President, DFW JavaMUG (http://javamug.org)
Past Chair, Dallas/FortWorth J2EE Sig
214-724-7741
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com