Re: Connecting to keel's hsqldb? Followup
"Michael Nash JGlobal.com" <[email protected]>
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Organization | JGlobal |
| Message-ID | <20040408173011.3fcb56a6@jglobal> |
Calvin: > Oops, it seems that I hadn't configured the ant script to build the > persistence services. I thought I had, because I saw > persistence-specific information in the build output, but I think it was > only processing the annotations. This is in the same build as above? It should have died altogether, not given you the wrong answer! > Anyway, I added the persistence services to my custom app ant script, > and it builds successfully, but I now get the following Exception: > > Configuration Exception: > org.apache.avalon.framework.configuration.ConfigurationException: No > class found matching configuration name [name: default-persistent, > location: Merged [layer The line above gives the "base" error here - it's not finding a class that is associated with the tag name "default-persistent", which is the tag for the PersistentFactory implementation. Essentially it sounds like code & config are out of sync with each other. I'd try an "ant -Ddeploy.name=yourdeploynname clean" and a fresh "ant -Ddeploy.name=yourdeployname assemble-deploy" to re-sync these two & see if that's the problem. Mike > : > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/strut > s/WEB-INF/keel/server/conf/svc-authorization-persist/TestTabOne-persist- > system.xconf: > 2:50, base: Merged [layer: > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/strut > s/WEB-INF/keel/server/conf/svc-authorization-persist/Invokat > ionSecurity-persist-system.xconf:2:50, base: Merged [layer: > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/strut > s/WEB-INF/keel/server/conf/ > svc-authorization-persist/InstanceSecurity-persist-system.xconf:2:50, > base: Merged [layer: > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/s > truts/WEB-INF/keel/server/conf/svc-authorization-persist/ComponentSecuri > ty-persist-system.xconf:2:50, base: Merged [layer: > file:/C:/work/keel/keel-build/deploy > /jakarta-tomcat-4.1.30/webapps/struts/WEB-INF/keel/server/conf/svc-authe > ntication-persist/UserGroup-persist-system.xconf:2:50, base: Merged > [layer: file:/C:/wo > rk/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/struts/WEB-INF/k > eel/server/conf/svc-authentication-persist/User-persist-system.xconf:2:5 > 0, base: Merged > [layer: > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/strut > s/WEB-INF/keel/server/conf/svc-authentication-persist/system.xconf:9:38, > base: > Merged [layer: > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/strut > s/WEB-INF/keel/server/conf/svc-authentication-persist/GroupMembers-pers > ist-system.xconf:2:50, base: Merged [layer: > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/strut > s/WEB-INF/keel/server/conf/app-tax/ZipRate- > persist-system.xconf:2:50, base: > file:/C:/work/keel/keel-build/deploy/jakarta-tomcat-4.1.30/webapps/strut > s/WEB-INF/keel/server/conf/app-tax/tax-jdbc-system.xco > nf:34:35]]]]]]]]]] > at > org.apache.avalon.fortress.impl.DefaultContainer.getClassname(DefaultCon > tainer.java:174) > at > org.apache.avalon.fortress.impl.DefaultContainer.configure(DefaultContai > ner.java:108) > at > org.keel.core.container.KeelContainer.configure(KeelContainer.java:102) > at > org.apache.avalon.framework.container.ContainerUtil.configure(ContainerU > til.java:240) > at > org.apache.avalon.fortress.impl.DefaultContainerManager.createContainer( > DefaultContainerManager.java:167) > at > org.apache.avalon.fortress.impl.DefaultContainerManager.initializeContai > ner(DefaultContainerManager.java:119) > at > org.apache.avalon.fortress.impl.DefaultContainerManager.initialize(Defau > ltContainerManager.java:112) > at > org.keel.core.container.KeelContainerFactory.getContainerManager(KeelCon > tainerFactory.java:195) > at > org.keel.core.container.KeelContainerFactory.createContainer(KeelContain > erFactory.java:640) > at > org.keel.core.container.KeelContainerFactory.createContainer(KeelContain > erFactory.java:627) > at > org.keel.servers.KeelAbstractServer.initialize(KeelAbstractServer.java:1 > 25) > at > org.keel.servers.KeelAbstractServer.getContainer(KeelAbstractServer.java > :105) > at > org.keel.servers.direct.KeelDirectServer.run(KeelDirectServer.java:63) > > I've looked at > http://66.105.113.115/vqwiki-2.3.5/jsp/Wiki?PersistenceService but that > doesn't have any information on additional configuration that might be > required. Is there a step-by-step persistence howto that I've > overlooked? > > Thanks, > > calvin > > -- > > ThatOne Company > > http://www.thatone.com/ > > > _______________________________________________ > User mailing list > [email protected] > http://lists.keelframework.org/listinfo.cgi/user-keelframework.org -- Michael Nash JGlobal Ltd Next-Generation Web Application Development and Open Source Support http://www.jglobal.com Bahamas Commerce and Trade Offshore eCommerce Hosting and Business Services http://www.bahamascommerce.com