I setup a brand new MySQL installation on Win-XP and tried with Keel-2.0, and it worked fine. The only things that I noticed that might not have been clear from the Wiki instructions, are these:
- After you change your *-deploy.properties file (I used the default-mysql-deploy.properties), need to run assemble-deploy once again
- Keel will create the tables, but the database itself must be created outside of Keel. For instance, the default install of MySQL came with a "mysql" and "test" DBs, I manually created one called "keel" using "create database keel". This database name must match that provided in *-deploy.properties.
Hope this helps. If it doesn't, change all the log categories in ...WEB-INF/keel/server/conf/logkit.xconf from INFO/WARN/etc. to DEBUG and restart Keel and try again, that should provide a whole lot more logs that can hopefully provide more clues. Let us know how it goes.
Shash
Gene McCullough wrote:
Running on Windows-XP J2SDK1.4.2_03 ANT 1.5.3
I downloaded Keel latest source from Sourceforge last night, v2.0. I followed Shash's Hands On Tutorial, and everything seemed to build and deploy properly, I can get to the Main keel page.
Then I followed (tried) the Configure Your Own Database from the Keel tutorials, and set my database properties/credentials in default-deploy.properties, and did an 'ant assemble-deploy'.
When I try to get the db created, by following this link, http://localhost:8080/struts/model.do?model=createdb, I get this:
null, Could not return a reference to the Component (Key='org.keel.services.persist.PersistentFactory/*')
In the browser.
I get this in the system.log: WARN 2003-12-16 11:04:11.011 [system.roles.defaults] (/org.apache.avalon.fortress.impl.role.AbstractRoleManager.addRole(Abstr actRoleManager.java:154) ): Unable to load class org.apache.excalibur.xml.xpath.XPathProcessorImpl. Skipping. WARN 2003-12-16 11:04:11.011 [system.roles.defaults] (/org.apache.avalon.fortress.impl.role.AbstractRoleManager.addRole(Abstr actRoleManager.java:154) ): Unable to load class org.apache.excalibur.xml.xpath.JaxenProcessorImpl. Skipping. WARN 2003-12-16 11:04:11.011 [system.roles.defaults] (/org.apache.avalon.fortress.impl.role.AbstractRoleManager.addRole(Abstr actRoleManager.java:154) ): Unable to load class org.apache.excalibur.xml.impl.JaxpParser. Skipping. WARN 2003-12-16 11:04:11.011 [system.roles.defaults] (/org.apache.avalon.fortress.impl.role.AbstractRoleManager.addRole(Abstr actRoleManager.java:154) ): Unable to load class org.apache.excalibur.xml.impl.XercesParser. Skipping.
Please help. Would really like to get this up and running and start porting my app. If not apparent, I'm VERY new to Keel. Have a current Expresso/Tomcat webapp that I think would work well under Keel. Am going to try JDO. Any suggestions welcome.
Thanks in advance
Gene
http://keelframework.org/documentation
Keelgroup mailing list
[EMAIL PROTECTED]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
http://keelframework.org/documentation Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
