|
|
|
Truedat101
|
Hi, I am documentation challenged. I am attempting to get appfuse equinox 1.8 up and running using JDO + HSQLDB. While the explanations seem simple enough, the documentation is confusing, perhaps because it all references Hibernate, and if you click around on the site, somewhere between java.net, Matt's site, the appfuse site, the forums, you'll find a collection of new and old information, some helpful, some not.
I am having a problem passing the initial TEST suites. I would love some assistance from someone who has verified the 1.8 beta release against HSQLDB and who can share any tips on the setup. I'll be glad to wiki or blog this information somewhere to help future users. Any assistance would be greatly appreciated. I put in my time on this, researched the google thing, and spent time on the email list to piece this together, but could not come up with a solution. People say it works, so I would love to find out how. I have done the following: 1) edit jdbc.properties jdbc.driverClassName=org.hsqldb.jdbcDriver jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse jdbc.username=sa jdbc.password= 2) edit pom.xml: add the HSSQLDB entry to make the jdbc jar available: <dependency> <groupId>hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>1.8.0.7</version> </dependency> 3) I didn't do anything to the applicationContext-jdo.xml. Wasn't obvious what should change. 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server -database.0 /tmp/appfuse-db -dbname.0 appfuse 5) Next up, run 'mvn' I get the following test failures [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building AppFuse Light [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Compiling 17 source files to /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Compiling 7 source files to /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.appfuse.web.pages.UserListTest INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading context for locations: /WEB-INF/applicationContext*.xml ERROR - RequestCycle.step(1043) | The class "org.appfuse.model.User" is not Persistence-Capable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found.; nested exception is org.jpox.exceptions.ClassNotPersistenceCapableException: The class "org.appfuse.model.User" is not Persistence-Capable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. org.springframework.orm.jdo.JdoUsageException: The class "org.appfuse.model.User" is not Persistence-Capable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found.; nested exception is org.jpox.exceptions.ClassNotPersistenceCapableException: The class "org.appfuse.model.User" is not Persistence-Capable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. Caused by: org.jpox.exceptions.ClassNotPersistenceCapableException: The class "org.appfuse.model.User" is not Persistence-Capable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. at org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) at org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) at org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) at org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) at org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) at org.jpox.store.query.Query.executeWithMap(Query.java:959) at org.jpox.store.query.Query.executeWithArray(Query.java:932) at org.jpox.store.query.Query.execute(Query.java:855) at org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) at org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) at org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) at org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) at org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) at org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) at $Proxy1.getUsers(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) at wicket.proxy.$Proxy6.getUsers(Unknown Source) at org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) at wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) at wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) at wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) at wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) at wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) at wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) at org.appfuse.web.pages.UserList.<init>(UserList.java:88) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) at wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) at wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) at wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) at wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) at wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) at wicket.util.tester.WicketTester.startPage(WicketTester.java:283) at org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) at org.apache.maven.surefire.Surefire.run(Surefire.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.975 sec <<< FAILURE! Running org.appfuse.service.impl.UserManagerImplTest DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | removing user... DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | Expected exception: Object of class [org.appfuse.model.User] with identifier [1]: not found Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec Running org.appfuse.web.pages.UserFormTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec Running org.appfuse.service.UserManagerTest INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading context for locations: classpath*:/WEB-INF/applicationContext*.xml INFO - AbstractTransactionalSpringContextTests.startNewTransaction(314) | Began transaction (1): transaction manager [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; default rollback = true INFO - AbstractTransactionalSpringContextTests.endTransaction(281) | Rolled back transaction after test execution Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.522 sec <<< FAILURE! Running org.appfuse.dao.UserDaoTest INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading context for locations: /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading context for locations: /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading context for locations: /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.294 sec <<< FAILURE! Results : Tests in error: testRenderPage(org.appfuse.web.pages.UserListTest) testGetUsers(org.appfuse.service.UserManagerTest) testGetUsers(org.appfuse.dao.UserDaoTest) testSaveUser(org.appfuse.dao.UserDaoTest) testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 9 seconds [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 [INFO] Final Memory: 10M/23M [INFO] ------------------------------------------------------------------------ *** {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} *** I get the fol |
||||||||||||||||
|
mraible
|
David,
I haven't tried to make JDO work with HSQLDB, but it should be fairly simple. I'll give it a try later tonight (Central European time). Matt On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > Hi, I am documentation challenged. I am attempting to get appfuse equinox > 1.8 up and running using JDO + HSQLDB. While the explanations seem simple > enough, the documentation is confusing, perhaps because it all references > Hibernate, and if you click around on the site, somewhere between java.net, > Matt's site, the appfuse site, the forums, you'll find a collection of new > and old information, some helpful, some not. > > I am having a problem passing the initial TEST suites. I would love some > assistance from someone who has verified the 1.8 beta release against HSQLDB > and who can share any tips on the setup. I'll be glad to wiki or blog this > information somewhere to help future users. Any assistance would be greatly > appreciated. I put in my time on this, researched the google thing, and > spent time on the email list to piece this together, but could not come up > with a solution. People say it works, so I would love to find out how. > > I have done the following: > 1) edit jdbc.properties > jdbc.driverClassName=org.hsqldb.jdbcDriver > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > jdbc.username=sa > jdbc.password= > 2) edit pom.xml: > add the HSSQLDB entry to make the jdbc jar available: > <dependency> > <groupId>hsqldb</groupId> > <artifactId>hsqldb</artifactId> > <version>1.8.0.7</version> > </dependency> > 3) I didn't do anything to the applicationContext-jdo.xml. Wasn't obvious > what should change. > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server -database.0 > /tmp/appfuse-db -dbname.0 appfuse > 5) Next up, run 'mvn' > > I get the following test failures > > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building AppFuse Light > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 17 source files to > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Compiling 7 source files to > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > [INFO] [surefire:test] > [INFO] Surefire report directory: > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Running org.appfuse.web.pages.UserListTest > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > context for locations: /WEB-INF/applicationContext*.xml > ERROR - RequestCycle.step(1043) | The class "org.appfuse.model.User" is not > Persistence-Capable. This means that it either hasnt been enhanced, or that > the enhanced version of the file is not in the CLASSPATH (or is hidden by an > unenhanced version), or the Meta-Data for the class is not found.; nested > exception is org.jpox.exceptions.ClassNotPersistenceCapableException: The > class "org.appfuse.model.User" is not Persistence-Capable. This means that > it either hasnt been enhanced, or that the enhanced version of the file is > not in the CLASSPATH (or is hidden by an unenhanced version), or the > Meta-Data for the class is not found. > org.springframework.orm.jdo.JdoUsageException: The class > "org.appfuse.model.User" is not Persistence-Capable. This means that it > either hasnt been enhanced, or that the enhanced version of the file is not > in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data > for the class is not found.; nested exception is > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > "org.appfuse.model.User" is not Persistence-Capable. This means that it > either hasnt been enhanced, or that the enhanced version of the file is not > in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data > for the class is not found. > Caused by: > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > "org.appfuse.model.User" is not Persistence-Capable. This means that it > either hasnt been enhanced, or that the enhanced version of the file is not > in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data > for the class is not found. > at > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > at > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > at > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > at > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > at > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > at org.jpox.store.query.Query.executeWithMap(Query.java:959) > at org.jpox.store.query.Query.executeWithArray(Query.java:932) > at org.jpox.store.query.Query.execute(Query.java:855) > at > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > at > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > at > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > at > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > at org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > at > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > at > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > at $Proxy1.getUsers(Unknown Source) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > at > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > at > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > at > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > at > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > at > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > at > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > at > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > at org.appfuse.web.pages.UserList.<init>(UserList.java:88) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at java.lang.Class.newInstance0(Class.java:350) > at java.lang.Class.newInstance(Class.java:303) > at > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > at > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > at > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > at > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > at > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > at > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > at > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > at > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > at wicket.RequestCycle.step(RequestCycle.java:1010) > at wicket.RequestCycle.steps(RequestCycle.java:1084) > at wicket.RequestCycle.request(RequestCycle.java:454) > at > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > at > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > at wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > at > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at junit.framework.TestCase.runTest(TestCase.java:164) > at junit.framework.TestCase.runBare(TestCase.java:130) > at > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > at > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > at > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.975 sec > <<< FAILURE! > Running org.appfuse.service.impl.UserManagerImplTest > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | removing user... > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | Expected exception: > Object of class [org.appfuse.model.User] with identifier [1]: not found > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec > Running org.appfuse.web.pages.UserFormTest > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec > Running org.appfuse.service.UserManagerTest > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > context for locations: classpath*:/WEB-INF/applicationContext*.xml > INFO - AbstractTransactionalSpringContextTests.startNewTransaction(314) | > Began transaction (1): transaction manager > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; default rollback > = true > INFO - AbstractTransactionalSpringContextTests.endTransaction(281) | Rolled > back transaction after test execution > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.522 sec > <<< FAILURE! > Running org.appfuse.dao.UserDaoTest > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > context for locations: > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > context for locations: > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > context for locations: > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.294 sec > <<< FAILURE! > > Results : > > Tests in error: > testRenderPage(org.appfuse.web.pages.UserListTest) > testGetUsers(org.appfuse.service.UserManagerTest) > testGetUsers(org.appfuse.dao.UserDaoTest) > testSaveUser(org.appfuse.dao.UserDaoTest) > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 9 seconds > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > [INFO] Final Memory: 10M/23M > [INFO] > ------------------------------------------------------------------------ > > *** > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > *** > > > I get the fol > -- > View this message in context: http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > Sent from the Equinox Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
Sorry, I didn't get a chance to look at this last night.
Unfortunately, I probably won't get a chance today either. Hopefully next week. Sorry for the delay. Matt On 5/2/07, Matt Raible <[hidden email]> wrote: > David, > > I haven't tried to make JDO work with HSQLDB, but it should be fairly > simple. I'll give it a try later tonight (Central European time). > > Matt > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > Hi, I am documentation challenged. I am attempting to get appfuse equinox > > 1.8 up and running using JDO + HSQLDB. While the explanations seem simple > > enough, the documentation is confusing, perhaps because it all references > > Hibernate, and if you click around on the site, somewhere between java.net, > > Matt's site, the appfuse site, the forums, you'll find a collection of new > > and old information, some helpful, some not. > > > > I am having a problem passing the initial TEST suites. I would love some > > assistance from someone who has verified the 1.8 beta release against HSQLDB > > and who can share any tips on the setup. I'll be glad to wiki or blog this > > information somewhere to help future users. Any assistance would be greatly > > appreciated. I put in my time on this, researched the google thing, and > > spent time on the email list to piece this together, but could not come up > > with a solution. People say it works, so I would love to find out how. > > > > I have done the following: > > 1) edit jdbc.properties > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > jdbc.username=sa > > jdbc.password= > > 2) edit pom.xml: > > add the HSSQLDB entry to make the jdbc jar available: > > <dependency> > > <groupId>hsqldb</groupId> > > <artifactId>hsqldb</artifactId> > > <version>1.8.0.7</version> > > </dependency> > > 3) I didn't do anything to the applicationContext-jdo.xml. Wasn't obvious > > what should change. > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server -database.0 > > /tmp/appfuse-db -dbname.0 appfuse > > 5) Next up, run 'mvn' > > > > I get the following test failures > > > > [INFO] Scanning for projects... > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Building AppFuse Light > > [INFO] task-segment: [install] > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] [resources:resources] > > [INFO] Using default encoding to copy filtered resources. > > [INFO] [compiler:compile] > > [INFO] Compiling 17 source files to > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > [INFO] [resources:testResources] > > [INFO] Using default encoding to copy filtered resources. > > [INFO] [compiler:testCompile] > > [INFO] Compiling 7 source files to > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > [INFO] [surefire:test] > > [INFO] Surefire report directory: > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > ------------------------------------------------------- > > T E S T S > > ------------------------------------------------------- > > Running org.appfuse.web.pages.UserListTest > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > > context for locations: /WEB-INF/applicationContext*.xml > > ERROR - RequestCycle.step(1043) | The class "org.appfuse.model.User" is not > > Persistence-Capable. This means that it either hasnt been enhanced, or that > > the enhanced version of the file is not in the CLASSPATH (or is hidden by an > > unenhanced version), or the Meta-Data for the class is not found.; nested > > exception is org.jpox.exceptions.ClassNotPersistenceCapableException: The > > class "org.appfuse.model.User" is not Persistence-Capable. This means that > > it either hasnt been enhanced, or that the enhanced version of the file is > > not in the CLASSPATH (or is hidden by an unenhanced version), or the > > Meta-Data for the class is not found. > > org.springframework.orm.jdo.JdoUsageException: The class > > "org.appfuse.model.User" is not Persistence-Capable. This means that it > > either hasnt been enhanced, or that the enhanced version of the file is not > > in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data > > for the class is not found.; nested exception is > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > "org.appfuse.model.User" is not Persistence-Capable. This means that it > > either hasnt been enhanced, or that the enhanced version of the file is not > > in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data > > for the class is not found. > > Caused by: > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > "org.appfuse.model.User" is not Persistence-Capable. This means that it > > either hasnt been enhanced, or that the enhanced version of the file is not > > in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data > > for the class is not found. > > at > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > at > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > at > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > at > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > at > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > at org.jpox.store.query.Query.executeWithMap(Query.java:959) > > at org.jpox.store.query.Query.executeWithArray(Query.java:932) > > at org.jpox.store.query.Query.execute(Query.java:855) > > at > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > at > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > at > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > at > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > at org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > at > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > at > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > at > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > at > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > at > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > at > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > at $Proxy1.getUsers(Unknown Source) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > at > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > at > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > at > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > at > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > at > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > at > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > at > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > at org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > Method) > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > at > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > at java.lang.Class.newInstance0(Class.java:350) > > at java.lang.Class.newInstance(Class.java:303) > > at > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > at > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > at > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > at > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > at > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > at > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > at > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > at > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > at wicket.RequestCycle.step(RequestCycle.java:1010) > > at wicket.RequestCycle.steps(RequestCycle.java:1084) > > at wicket.RequestCycle.request(RequestCycle.java:454) > > at > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > at > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > at wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > at > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at junit.framework.TestCase.runTest(TestCase.java:164) > > at junit.framework.TestCase.runBare(TestCase.java:130) > > at > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > at junit.framework.TestResult.runProtected(TestResult.java:124) > > at junit.framework.TestResult.run(TestResult.java:109) > > at junit.framework.TestCase.run(TestCase.java:120) > > at junit.framework.TestSuite.runTest(TestSuite.java:230) > > at junit.framework.TestSuite.run(TestSuite.java:225) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > at > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > at > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:585) > > at > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > at > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.975 sec > > <<< FAILURE! > > Running org.appfuse.service.impl.UserManagerImplTest > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | removing user... > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | Expected exception: > > Object of class [org.appfuse.model.User] with identifier [1]: not found > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec > > Running org.appfuse.web.pages.UserFormTest > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 sec > > Running org.appfuse.service.UserManagerTest > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > > context for locations: classpath*:/WEB-INF/applicationContext*.xml > > INFO - AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > Began transaction (1): transaction manager > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; default rollback > > = true > > INFO - AbstractTransactionalSpringContextTests.endTransaction(281) | Rolled > > back transaction after test execution > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.522 sec > > <<< FAILURE! > > Running org.appfuse.dao.UserDaoTest > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > > context for locations: > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > > context for locations: > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | Loading > > context for locations: > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.294 sec > > <<< FAILURE! > > > > Results : > > > > Tests in error: > > testRenderPage(org.appfuse.web.pages.UserListTest) > > testGetUsers(org.appfuse.service.UserManagerTest) > > testGetUsers(org.appfuse.dao.UserDaoTest) > > testSaveUser(org.appfuse.dao.UserDaoTest) > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] There are test failures. > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 9 seconds > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > [INFO] Final Memory: 10M/23M > > [INFO] > > ------------------------------------------------------------------------ > > > > *** > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > *** > > > > > > I get the fol > > -- > > View this message in context: http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > Sent from the Equinox Users mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > -- > http://raibledesigns.com > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
Kiran Karnati-2
|
Hello Matt,
have changed Equinox to App fuse Light ? Sorry to ask such a questions but I am not following you since 3 months. so, could you please send me required links for the new product and latest release? thank you. Regards /Kiran -------- Original-Nachricht -------- Datum: Thu, 3 May 2007 12:00:47 +0200 Von: "Matt Raible" <[hidden email]> An: [hidden email] Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta + JDO (any variant) for dummies > Sorry, I didn't get a chance to look at this last night. > Unfortunately, I probably won't get a chance today either. Hopefully > next week. Sorry for the delay. > > Matt > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > David, > > > > I haven't tried to make JDO work with HSQLDB, but it should be fairly > > simple. I'll give it a try later tonight (Central European time). > > > > Matt > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > Hi, I am documentation challenged. I am attempting to get appfuse > equinox > > > 1.8 up and running using JDO + HSQLDB. While the explanations seem > simple > > > enough, the documentation is confusing, perhaps because it all > references > > > Hibernate, and if you click around on the site, somewhere between > java.net, > > > Matt's site, the appfuse site, the forums, you'll find a collection of > new > > > and old information, some helpful, some not. > > > > > > I am having a problem passing the initial TEST suites. I would love > some > > > assistance from someone who has verified the 1.8 beta release against > HSQLDB > > > and who can share any tips on the setup. I'll be glad to wiki or blog > this > > > information somewhere to help future users. Any assistance would be > greatly > > > appreciated. I put in my time on this, researched the google thing, > and > > > spent time on the email list to piece this together, but could not > come up > > > with a solution. People say it works, so I would love to find out > how. > > > > > > I have done the following: > > > 1) edit jdbc.properties > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > jdbc.username=sa > > > jdbc.password= > > > 2) edit pom.xml: > > > add the HSSQLDB entry to make the jdbc jar available: > > > <dependency> > > > <groupId>hsqldb</groupId> > > > <artifactId>hsqldb</artifactId> > > > <version>1.8.0.7</version> > > > </dependency> > > > 3) I didn't do anything to the applicationContext-jdo.xml. Wasn't > obvious > > > what should change. > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server -database.0 > > > /tmp/appfuse-db -dbname.0 appfuse > > > 5) Next up, run 'mvn' > > > > > > I get the following test failures > > > > > > [INFO] Scanning for projects... > > > [INFO] > > > > ---------------------------------------------------------------------------- > > > [INFO] Building AppFuse Light > > > [INFO] task-segment: [install] > > > [INFO] > > > > ---------------------------------------------------------------------------- > > > [INFO] [resources:resources] > > > [INFO] Using default encoding to copy filtered resources. > > > [INFO] [compiler:compile] > > > [INFO] Compiling 17 source files to > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > [INFO] [resources:testResources] > > > [INFO] Using default encoding to copy filtered resources. > > > [INFO] [compiler:testCompile] > > > [INFO] Compiling 7 source files to > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > [INFO] [surefire:test] > > > [INFO] Surefire report directory: > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > ------------------------------------------------------- > > > T E S T S > > > ------------------------------------------------------- > > > Running org.appfuse.web.pages.UserListTest > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > Loading > > > context for locations: /WEB-INF/applicationContext*.xml > > > ERROR - RequestCycle.step(1043) | The class "org.appfuse.model.User" > is not > > > Persistence-Capable. This means that it either hasnt been enhanced, or > that > > > the enhanced version of the file is not in the CLASSPATH (or is hidden > by an > > > unenhanced version), or the Meta-Data for the class is not found.; > nested > > > exception is org.jpox.exceptions.ClassNotPersistenceCapableException: > The > > > class "org.appfuse.model.User" is not Persistence-Capable. This means > that > > > it either hasnt been enhanced, or that the enhanced version of the > file is > > > not in the CLASSPATH (or is hidden by an unenhanced version), or the > > > Meta-Data for the class is not found. > > > org.springframework.orm.jdo.JdoUsageException: The class > > > "org.appfuse.model.User" is not Persistence-Capable. This means that > it > > > either hasnt been enhanced, or that the enhanced version of the file > is not > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > Meta-Data > > > for the class is not found.; nested exception is > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > "org.appfuse.model.User" is not Persistence-Capable. This means that > it > > > either hasnt been enhanced, or that the enhanced version of the file > is not > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > Meta-Data > > > for the class is not found. > > > Caused by: > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > "org.appfuse.model.User" is not Persistence-Capable. This means that > it > > > either hasnt been enhanced, or that the enhanced version of the file > is not > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > Meta-Data > > > for the class is not found. > > > at > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > at > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > at > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > at > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > at > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > at org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > at org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > at org.jpox.store.query.Query.execute(Query.java:855) > > > at > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > at > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > at > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > at > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > at org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > at > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > at > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > at > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > at > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > at > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > at > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > at $Proxy1.getUsers(Unknown Source) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > at > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > at > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > at > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > at > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > at > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > at > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > at > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > at org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > at > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > at > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > at > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > at java.lang.Class.newInstance0(Class.java:350) > > > at java.lang.Class.newInstance(Class.java:303) > > > at > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > at > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > at > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > at > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > at > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > at > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > at > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > at > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > at wicket.RequestCycle.step(RequestCycle.java:1010) > > > at wicket.RequestCycle.steps(RequestCycle.java:1084) > > > at wicket.RequestCycle.request(RequestCycle.java:454) > > > at > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > at > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > at > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > at > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at junit.framework.TestCase.runTest(TestCase.java:164) > > > at junit.framework.TestCase.runBare(TestCase.java:130) > > > at > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > > at > junit.framework.TestResult.runProtected(TestResult.java:124) > > > at junit.framework.TestResult.run(TestResult.java:109) > > > at junit.framework.TestCase.run(TestCase.java:120) > > > at junit.framework.TestSuite.runTest(TestSuite.java:230) > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > at > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > at > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > at > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > at > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.975 > sec > > > <<< FAILURE! > > > Running org.appfuse.service.impl.UserManagerImplTest > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | removing > user... > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | Expected > exception: > > > Object of class [org.appfuse.model.User] with identifier [1]: not > found > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 > sec > > > Running org.appfuse.web.pages.UserFormTest > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 > sec > > > Running org.appfuse.service.UserManagerTest > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > Loading > > > context for locations: classpath*:/WEB-INF/applicationContext*.xml > > > INFO - > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > Began transaction (1): transaction manager > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; default > rollback > > > = true > > > INFO - AbstractTransactionalSpringContextTests.endTransaction(281) | > Rolled > > > back transaction after test execution > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.522 > sec > > > <<< FAILURE! > > > Running org.appfuse.dao.UserDaoTest > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > Loading > > > context for locations: > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > Loading > > > context for locations: > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > Loading > > > context for locations: > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.294 > sec > > > <<< FAILURE! > > > > > > Results : > > > > > > Tests in error: > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [ERROR] BUILD FAILURE > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] There are test failures. > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] For more information, run Maven with the -e switch > > > [INFO] > > > > ------------------------------------------------------------------------ > > > [INFO] Total time: 9 seconds > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > [INFO] Final Memory: 10M/23M > > > [INFO] > > > > ------------------------------------------------------------------------ > > > > > > *** > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > *** > > > > > > > > > I get the fol > > > -- > > > View this message in context: > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > Sent from the Equinox Users mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [hidden email] > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > -- > > http://raibledesigns.com > > > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] -- Best regards, Kiran Karnati Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
Yes, the name has changed. Read more at:
http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta The name change was mentioned in the last release of Equinox: http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 Sorry if I didn't communicate that well on this mailing list. Matt On 5/23/07, Kiran Karnati <[hidden email]> wrote: > Hello Matt, > > have changed Equinox to App fuse Light ? > > Sorry to ask such a questions but I am not following you since 3 months. > > so, could you please send me required links for the new product and latest release? > > thank you. > > Regards > /Kiran > -------- Original-Nachricht -------- > Datum: Thu, 3 May 2007 12:00:47 +0200 > Von: "Matt Raible" <[hidden email]> > An: [hidden email] > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta + JDO (any variant) for dummies > > > Sorry, I didn't get a chance to look at this last night. > > Unfortunately, I probably won't get a chance today either. Hopefully > > next week. Sorry for the delay. > > > > Matt > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > David, > > > > > > I haven't tried to make JDO work with HSQLDB, but it should be fairly > > > simple. I'll give it a try later tonight (Central European time). > > > > > > Matt > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > Hi, I am documentation challenged. I am attempting to get appfuse > > equinox > > > > 1.8 up and running using JDO + HSQLDB. While the explanations seem > > simple > > > > enough, the documentation is confusing, perhaps because it all > > references > > > > Hibernate, and if you click around on the site, somewhere between > > java.net, > > > > Matt's site, the appfuse site, the forums, you'll find a collection of > > new > > > > and old information, some helpful, some not. > > > > > > > > I am having a problem passing the initial TEST suites. I would love > > some > > > > assistance from someone who has verified the 1.8 beta release against > > HSQLDB > > > > and who can share any tips on the setup. I'll be glad to wiki or blog > > this > > > > information somewhere to help future users. Any assistance would be > > greatly > > > > appreciated. I put in my time on this, researched the google thing, > > and > > > > spent time on the email list to piece this together, but could not > > come up > > > > with a solution. People say it works, so I would love to find out > > how. > > > > > > > > I have done the following: > > > > 1) edit jdbc.properties > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > jdbc.username=sa > > > > jdbc.password= > > > > 2) edit pom.xml: > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > <dependency> > > > > <groupId>hsqldb</groupId> > > > > <artifactId>hsqldb</artifactId> > > > > <version>1.8.0.7</version> > > > > </dependency> > > > > 3) I didn't do anything to the applicationContext-jdo.xml. Wasn't > > obvious > > > > what should change. > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server -database.0 > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > 5) Next up, run 'mvn' > > > > > > > > I get the following test failures > > > > > > > > [INFO] Scanning for projects... > > > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > > > [INFO] Building AppFuse Light > > > > [INFO] task-segment: [install] > > > > [INFO] > > > > > > ---------------------------------------------------------------------------- > > > > [INFO] [resources:resources] > > > > [INFO] Using default encoding to copy filtered resources. > > > > [INFO] [compiler:compile] > > > > [INFO] Compiling 17 source files to > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > [INFO] [resources:testResources] > > > > [INFO] Using default encoding to copy filtered resources. > > > > [INFO] [compiler:testCompile] > > > > [INFO] Compiling 7 source files to > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > [INFO] [surefire:test] > > > > [INFO] Surefire report directory: > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > ------------------------------------------------------- > > > > T E S T S > > > > ------------------------------------------------------- > > > > Running org.appfuse.web.pages.UserListTest > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > > Loading > > > > context for locations: /WEB-INF/applicationContext*.xml > > > > ERROR - RequestCycle.step(1043) | The class "org.appfuse.model.User" > > is not > > > > Persistence-Capable. This means that it either hasnt been enhanced, or > > that > > > > the enhanced version of the file is not in the CLASSPATH (or is hidden > > by an > > > > unenhanced version), or the Meta-Data for the class is not found.; > > nested > > > > exception is org.jpox.exceptions.ClassNotPersistenceCapableException: > > The > > > > class "org.appfuse.model.User" is not Persistence-Capable. This means > > that > > > > it either hasnt been enhanced, or that the enhanced version of the > > file is > > > > not in the CLASSPATH (or is hidden by an unenhanced version), or the > > > > Meta-Data for the class is not found. > > > > org.springframework.orm.jdo.JdoUsageException: The class > > > > "org.appfuse.model.User" is not Persistence-Capable. This means that > > it > > > > either hasnt been enhanced, or that the enhanced version of the file > > is not > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > Meta-Data > > > > for the class is not found.; nested exception is > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > > "org.appfuse.model.User" is not Persistence-Capable. This means that > > it > > > > either hasnt been enhanced, or that the enhanced version of the file > > is not > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > Meta-Data > > > > for the class is not found. > > > > Caused by: > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > > "org.appfuse.model.User" is not Persistence-Capable. This means that > > it > > > > either hasnt been enhanced, or that the enhanced version of the file > > is not > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > Meta-Data > > > > for the class is not found. > > > > at > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > at > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > at > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > at > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > at > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > at org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > at org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > at org.jpox.store.query.Query.execute(Query.java:855) > > > > at > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > at > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > at > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > at > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > at org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > at > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > at > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > at > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > at > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > at > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > at > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > at $Proxy1.getUsers(Unknown Source) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > > at > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > at > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > at > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > at > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > at > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > at > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > at > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > at org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > at > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > Method) > > > > at > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > at > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > at > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > at java.lang.Class.newInstance0(Class.java:350) > > > > at java.lang.Class.newInstance(Class.java:303) > > > > at > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > at > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > at > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > at > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > at > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > at > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > at > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > at > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > at wicket.RequestCycle.step(RequestCycle.java:1010) > > > > at wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > at wicket.RequestCycle.request(RequestCycle.java:454) > > > > at > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > at > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > at > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > at > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at junit.framework.TestCase.runTest(TestCase.java:164) > > > > at junit.framework.TestCase.runBare(TestCase.java:130) > > > > at > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > at junit.framework.TestResult$1.protect(TestResult.java:106) > > > > at > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > at junit.framework.TestResult.run(TestResult.java:109) > > > > at junit.framework.TestCase.run(TestCase.java:120) > > > > at junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > at > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > at > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > at org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > at > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > at > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > at > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > at > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.975 > > sec > > > > <<< FAILURE! > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | removing > > user... > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | Expected > > exception: > > > > Object of class [org.appfuse.model.User] with identifier [1]: not > > found > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 > > sec > > > > Running org.appfuse.web.pages.UserFormTest > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.198 > > sec > > > > Running org.appfuse.service.UserManagerTest > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > > Loading > > > > context for locations: classpath*:/WEB-INF/applicationContext*.xml > > > > INFO - > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > Began transaction (1): transaction manager > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; default > > rollback > > > > = true > > > > INFO - AbstractTransactionalSpringContextTests.endTransaction(281) | > > Rolled > > > > back transaction after test execution > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.522 > > sec > > > > <<< FAILURE! > > > > Running org.appfuse.dao.UserDaoTest > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > > Loading > > > > context for locations: > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > > Loading > > > > context for locations: > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) | > > Loading > > > > context for locations: > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.294 > > sec > > > > <<< FAILURE! > > > > > > > > Results : > > > > > > > > Tests in error: > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [ERROR] BUILD FAILURE > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] There are test failures. > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] For more information, run Maven with the -e switch > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > [INFO] Total time: 9 seconds > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > [INFO] Final Memory: 10M/23M > > > > [INFO] > > > > > > ------------------------------------------------------------------------ > > > > > > > > *** > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > *** > > > > > > > > > > > > I get the fol > > > > -- > > > > View this message in context: > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > Sent from the Equinox Users mailing list archive at Nabble.com. > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [hidden email] > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > -- > > > http://raibledesigns.com > > > > > > > > > -- > > http://raibledesigns.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > -- > Best regards, > > Kiran Karnati > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com |
||||||||||||||||
|
Kiran Karnati-2
|
Dear Matt,
It has been a couple of months, that I worked with Equinox and now wanted to start with Appfuse-Light. I think it is nothing but 1.8 version of Equinox, isn't it ? but I could not find anything in the mailing lists of Appfuse Light. Are you all guys using Equinox mailing lists for 1.8 version as well? and the appfuse-light is just for name purpose? Then its ok , I will also continue here. Any way , thank you matt. Regards /Kiran -------- Original-Nachricht -------- Datum: Wed, 23 May 2007 15:12:16 -0600 Von: "Matt Raible" <[hidden email]> An: [hidden email] Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta + JDO (any variant) for dummies > Yes, the name has changed. Read more at: > > http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta > > The name change was mentioned in the last release of Equinox: > > http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 > > Sorry if I didn't communicate that well on this mailing list. > > Matt > > On 5/23/07, Kiran Karnati <[hidden email]> wrote: > > Hello Matt, > > > > have changed Equinox to App fuse Light ? > > > > Sorry to ask such a questions but I am not following you since 3 months. > > > > so, could you please send me required links for the new product and > latest release? > > > > thank you. > > > > Regards > > /Kiran > > -------- Original-Nachricht -------- > > Datum: Thu, 3 May 2007 12:00:47 +0200 > > Von: "Matt Raible" <[hidden email]> > > An: [hidden email] > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta > + JDO (any variant) for dummies > > > > > Sorry, I didn't get a chance to look at this last night. > > > Unfortunately, I probably won't get a chance today either. Hopefully > > > next week. Sorry for the delay. > > > > > > Matt > > > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > > David, > > > > > > > > I haven't tried to make JDO work with HSQLDB, but it should be > fairly > > > > simple. I'll give it a try later tonight (Central European time). > > > > > > > > Matt > > > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > > > Hi, I am documentation challenged. I am attempting to get appfuse > > > equinox > > > > > 1.8 up and running using JDO + HSQLDB. While the explanations > seem > > > simple > > > > > enough, the documentation is confusing, perhaps because it all > > > references > > > > > Hibernate, and if you click around on the site, somewhere between > > > java.net, > > > > > Matt's site, the appfuse site, the forums, you'll find a > collection of > > > new > > > > > and old information, some helpful, some not. > > > > > > > > > > I am having a problem passing the initial TEST suites. I would > love > > > some > > > > > assistance from someone who has verified the 1.8 beta release > against > > > HSQLDB > > > > > and who can share any tips on the setup. I'll be glad to wiki or > blog > > > this > > > > > information somewhere to help future users. Any assistance would > be > > > greatly > > > > > appreciated. I put in my time on this, researched the google > thing, > > > and > > > > > spent time on the email list to piece this together, but could not > > > come up > > > > > with a solution. People say it works, so I would love to find out > > > how. > > > > > > > > > > I have done the following: > > > > > 1) edit jdbc.properties > > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > > jdbc.username=sa > > > > > jdbc.password= > > > > > 2) edit pom.xml: > > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > > <dependency> > > > > > <groupId>hsqldb</groupId> > > > > > <artifactId>hsqldb</artifactId> > > > > > <version>1.8.0.7</version> > > > > > </dependency> > > > > > 3) I didn't do anything to the applicationContext-jdo.xml. Wasn't > > > obvious > > > > > what should change. > > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server > -database.0 > > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > > 5) Next up, run 'mvn' > > > > > > > > > > I get the following test failures > > > > > > > > > > [INFO] Scanning for projects... > > > > > [INFO] > > > > > > > > > ---------------------------------------------------------------------------- > > > > > [INFO] Building AppFuse Light > > > > > [INFO] task-segment: [install] > > > > > [INFO] > > > > > > > > > ---------------------------------------------------------------------------- > > > > > [INFO] [resources:resources] > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > [INFO] [compiler:compile] > > > > > [INFO] Compiling 17 source files to > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > > [INFO] [resources:testResources] > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > [INFO] [compiler:testCompile] > > > > > [INFO] Compiling 7 source files to > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > > [INFO] [surefire:test] > > > > > [INFO] Surefire report directory: > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > > > ------------------------------------------------------- > > > > > T E S T S > > > > > ------------------------------------------------------- > > > > > Running org.appfuse.web.pages.UserListTest > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > | > > > Loading > > > > > context for locations: /WEB-INF/applicationContext*.xml > > > > > ERROR - RequestCycle.step(1043) | The class > "org.appfuse.model.User" > > > is not > > > > > Persistence-Capable. This means that it either hasnt been > enhanced, or > > > that > > > > > the enhanced version of the file is not in the CLASSPATH (or is > hidden > > > by an > > > > > unenhanced version), or the Meta-Data for the class is not found.; > > > nested > > > > > exception is > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > The > > > > > class "org.appfuse.model.User" is not Persistence-Capable. This > means > > > that > > > > > it either hasnt been enhanced, or that the enhanced version of the > > > file is > > > > > not in the CLASSPATH (or is hidden by an unenhanced version), or > the > > > > > Meta-Data for the class is not found. > > > > > org.springframework.orm.jdo.JdoUsageException: The class > > > > > "org.appfuse.model.User" is not Persistence-Capable. This means > that > > > it > > > > > either hasnt been enhanced, or that the enhanced version of the > file > > > is not > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > > Meta-Data > > > > > for the class is not found.; nested exception is > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > > > "org.appfuse.model.User" is not Persistence-Capable. This means > that > > > it > > > > > either hasnt been enhanced, or that the enhanced version of the > file > > > is not > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > > Meta-Data > > > > > for the class is not found. > > > > > Caused by: > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > > > "org.appfuse.model.User" is not Persistence-Capable. This means > that > > > it > > > > > either hasnt been enhanced, or that the enhanced version of the > file > > > is not > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > > Meta-Data > > > > > for the class is not found. > > > > > at > > > > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > > at > > > > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > > at > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > > at > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > > at > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > > at > org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > > at > org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > > at org.jpox.store.query.Query.execute(Query.java:855) > > > > > at > > > > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > > at > > > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > > at > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > > at > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > > at > org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > > at > > > > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > > > at > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > at > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > at > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > > at > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > > at > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > > at > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > > at $Proxy1.getUsers(Unknown Source) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > > > at > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > at > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > at > > > > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > > > at > > > > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > > at > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > > at > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > > at > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > > at > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > > at > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > > at > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > > at org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > > at > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > > Method) > > > > > at > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > > at > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > > at > > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > > at java.lang.Class.newInstance0(Class.java:350) > > > > > at java.lang.Class.newInstance(Class.java:303) > > > > > at > > > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > > at > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > > at > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > > at > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > > at > > > > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > > at > > > > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > > at > > > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > > at > > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > > at wicket.RequestCycle.step(RequestCycle.java:1010) > > > > > at wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > > at wicket.RequestCycle.request(RequestCycle.java:454) > > > > > at > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > > at > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > > at > > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > > at > > > > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > > > at > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > at > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > at junit.framework.TestCase.runTest(TestCase.java:164) > > > > > at junit.framework.TestCase.runBare(TestCase.java:130) > > > > > at > > > > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > > at > junit.framework.TestResult$1.protect(TestResult.java:106) > > > > > at > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > > at junit.framework.TestResult.run(TestResult.java:109) > > > > > at junit.framework.TestCase.run(TestCase.java:120) > > > > > at junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > > > at > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > at > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > at > > > > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > > at > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > > at > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > > at > org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > > > > > at > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > at > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > at > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > > at > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 2.975 > > > sec > > > > > <<< FAILURE! > > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | removing > > > user... > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | Expected > > > exception: > > > > > Object of class [org.appfuse.model.User] with identifier [1]: not > > > found > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.033 > > > sec > > > > > Running org.appfuse.web.pages.UserFormTest > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > 0.198 > > > sec > > > > > Running org.appfuse.service.UserManagerTest > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > | > > > Loading > > > > > context for locations: classpath*:/WEB-INF/applicationContext*.xml > > > > > INFO - > > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > > Began transaction (1): transaction manager > > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; > default > > > rollback > > > > > = true > > > > > INFO - AbstractTransactionalSpringContextTests.endTransaction(281) > | > > > Rolled > > > > > back transaction after test execution > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 0.522 > > > sec > > > > > <<< FAILURE! > > > > > Running org.appfuse.dao.UserDaoTest > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > | > > > Loading > > > > > context for locations: > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > | > > > Loading > > > > > context for locations: > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > | > > > Loading > > > > > context for locations: > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: > 0.294 > > > sec > > > > > <<< FAILURE! > > > > > > > > > > Results : > > > > > > > > > > Tests in error: > > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > > [ERROR] BUILD FAILURE > > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] There are test failures. > > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] For more information, run Maven with the -e switch > > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > > [INFO] Total time: 9 seconds > > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > > [INFO] Final Memory: 10M/23M > > > > > [INFO] > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > *** > > > > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > > *** > > > > > > > > > > > > > > > I get the fol > > > > > -- > > > > > View this message in context: > > > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > > Sent from the Equinox Users mailing list archive at Nabble.com. > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [hidden email] > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > > > > > > -- > > > > http://raibledesigns.com > > > > > > > > > > > > > -- > > > http://raibledesigns.com > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [hidden email] > > > For additional commands, e-mail: [hidden email] > > > > -- > > Best regards, > > > > Kiran Karnati > > > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > > Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > -- > http://raibledesigns.com -- Best regards, Kiran Karnati GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
mraible
|
On 5/24/07, Kiran Karnati <[hidden email]> wrote:
> Dear Matt, > > It has been a couple of months, that I worked with Equinox and now wanted to start with Appfuse-Light. I think it is nothing but 1.8 version of Equinox, isn't it ? Yes, you are correct. > > but I could not find anything in the mailing lists of Appfuse Light. > > Are you all guys using Equinox mailing lists for 1.8 version as well? and the appfuse-light is just for name purpose? Actually, I'd prefer folks use the AppFuse user mailing list. Because the problems are so similar between AppFuse and AppFuse Light - it seems to make sense to combine the communities. If you don't want to receive AppFuse's mailing list traffic, you can post in a forum-like fashion to http://appfuse.org/forums. > > Then its ok , I will also continue here. > > Any way , thank you matt. You're welcome. Matt > > Regards > > /Kiran > > -------- Original-Nachricht -------- > Datum: Wed, 23 May 2007 15:12:16 -0600 > Von: "Matt Raible" <[hidden email]> > An: [hidden email] > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta + JDO (any variant) for dummies > > > Yes, the name has changed. Read more at: > > > > http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta > > > > The name change was mentioned in the last release of Equinox: > > > > http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 > > > > Sorry if I didn't communicate that well on this mailing list. > > > > Matt > > > > On 5/23/07, Kiran Karnati <[hidden email]> wrote: > > > Hello Matt, > > > > > > have changed Equinox to App fuse Light ? > > > > > > Sorry to ask such a questions but I am not following you since 3 months. > > > > > > so, could you please send me required links for the new product and > > latest release? > > > > > > thank you. > > > > > > Regards > > > /Kiran > > > -------- Original-Nachricht -------- > > > Datum: Thu, 3 May 2007 12:00:47 +0200 > > > Von: "Matt Raible" <[hidden email]> > > > An: [hidden email] > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta > > + JDO (any variant) for dummies > > > > > > > Sorry, I didn't get a chance to look at this last night. > > > > Unfortunately, I probably won't get a chance today either. Hopefully > > > > next week. Sorry for the delay. > > > > > > > > Matt > > > > > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > > > David, > > > > > > > > > > I haven't tried to make JDO work with HSQLDB, but it should be > > fairly > > > > > simple. I'll give it a try later tonight (Central European time). > > > > > > > > > > Matt > > > > > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > > > > > Hi, I am documentation challenged. I am attempting to get appfuse > > > > equinox > > > > > > 1.8 up and running using JDO + HSQLDB. While the explanations > > seem > > > > simple > > > > > > enough, the documentation is confusing, perhaps because it all > > > > references > > > > > > Hibernate, and if you click around on the site, somewhere between > > > > java.net, > > > > > > Matt's site, the appfuse site, the forums, you'll find a > > collection of > > > > new > > > > > > and old information, some helpful, some not. > > > > > > > > > > > > I am having a problem passing the initial TEST suites. I would > > love > > > > some > > > > > > assistance from someone who has verified the 1.8 beta release > > against > > > > HSQLDB > > > > > > and who can share any tips on the setup. I'll be glad to wiki or > > blog > > > > this > > > > > > information somewhere to help future users. Any assistance would > > be > > > > greatly > > > > > > appreciated. I put in my time on this, researched the google > > thing, > > > > and > > > > > > spent time on the email list to piece this together, but could not > > > > come up > > > > > > with a solution. People say it works, so I would love to find out > > > > how. > > > > > > > > > > > > I have done the following: > > > > > > 1) edit jdbc.properties > > > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > > > jdbc.username=sa > > > > > > jdbc.password= > > > > > > 2) edit pom.xml: > > > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > > > <dependency> > > > > > > <groupId>hsqldb</groupId> > > > > > > <artifactId>hsqldb</artifactId> > > > > > > <version>1.8.0.7</version> > > > > > > </dependency> > > > > > > 3) I didn't do anything to the applicationContext-jdo.xml. Wasn't > > > > obvious > > > > > > what should change. > > > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server > > -database.0 > > > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > > > 5) Next up, run 'mvn' > > > > > > > > > > > > I get the following test failures > > > > > > > > > > > > [INFO] Scanning for projects... > > > > > > [INFO] > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > [INFO] Building AppFuse Light > > > > > > [INFO] task-segment: [install] > > > > > > [INFO] > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > [INFO] [resources:resources] > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > [INFO] [compiler:compile] > > > > > > [INFO] Compiling 17 source files to > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > > > [INFO] [resources:testResources] > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > [INFO] [compiler:testCompile] > > > > > > [INFO] Compiling 7 source files to > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > > > [INFO] [surefire:test] > > > > > > [INFO] Surefire report directory: > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > > > > > ------------------------------------------------------- > > > > > > T E S T S > > > > > > ------------------------------------------------------- > > > > > > Running org.appfuse.web.pages.UserListTest > > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > > | > > > > Loading > > > > > > context for locations: /WEB-INF/applicationContext*.xml > > > > > > ERROR - RequestCycle.step(1043) | The class > > "org.appfuse.model.User" > > > > is not > > > > > > Persistence-Capable. This means that it either hasnt been > > enhanced, or > > > > that > > > > > > the enhanced version of the file is not in the CLASSPATH (or is > > hidden > > > > by an > > > > > > unenhanced version), or the Meta-Data for the class is not found.; > > > > nested > > > > > > exception is > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > > The > > > > > > class "org.appfuse.model.User" is not Persistence-Capable. This > > means > > > > that > > > > > > it either hasnt been enhanced, or that the enhanced version of the > > > > file is > > > > > > not in the CLASSPATH (or is hidden by an unenhanced version), or > > the > > > > > > Meta-Data for the class is not found. > > > > > > org.springframework.orm.jdo.JdoUsageException: The class > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This means > > that > > > > it > > > > > > either hasnt been enhanced, or that the enhanced version of the > > file > > > > is not > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > > > Meta-Data > > > > > > for the class is not found.; nested exception is > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This means > > that > > > > it > > > > > > either hasnt been enhanced, or that the enhanced version of the > > file > > > > is not > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > > > Meta-Data > > > > > > for the class is not found. > > > > > > Caused by: > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The class > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This means > > that > > > > it > > > > > > either hasnt been enhanced, or that the enhanced version of the > > file > > > > is not > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or the > > > > Meta-Data > > > > > > for the class is not found. > > > > > > at > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > > > at > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > > > at > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > > > at > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > > > at > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > > > at > > org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > > > at > > org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > > > at org.jpox.store.query.Query.execute(Query.java:855) > > > > > > at > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > > > at > > > > > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > > > at > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > > > at > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > > > at > > org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > > > at > > > > > > > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > > > at > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > at > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > at > > > > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > > > at > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > > > at > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > > > at > > > > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > > > at > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > > > at > > > > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > > > at $Proxy1.getUsers(Unknown Source) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > > > at > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > at > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > at > > > > > > > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > > > > at > > > > > > > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > > > at > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > > > at > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > > > at > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > > > at > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > > > at > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > > > at > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > > > at org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > > > at > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > > > Method) > > > > > > at > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > > > at > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > > > at > > > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > > > at java.lang.Class.newInstance0(Class.java:350) > > > > > > at java.lang.Class.newInstance(Class.java:303) > > > > > > at > > > > > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > > > at > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > > > at > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > > > at > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > > > at > > > > > > > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > > > at > > > > > > > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > > > at > > > > > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > > > at > > > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > > > at wicket.RequestCycle.step(RequestCycle.java:1010) > > > > > > at wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > > > at wicket.RequestCycle.request(RequestCycle.java:454) > > > > > > at > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > > > at > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > > > at > > > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > > > at > > > > > > > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > > > at > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > at > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > at junit.framework.TestCase.runTest(TestCase.java:164) > > > > > > at junit.framework.TestCase.runBare(TestCase.java:130) > > > > > > at > > > > > > > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > > > at > > junit.framework.TestResult$1.protect(TestResult.java:106) > > > > > > at > > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > > > at junit.framework.TestResult.run(TestResult.java:109) > > > > > > at junit.framework.TestCase.run(TestCase.java:120) > > > > > > at junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > > > at > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > at > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > at > > > > > > > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > > > at > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > > > at > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > > > at > > org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > > > > > at > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > at > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > at > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > > > at > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > > 2.975 > > > > sec > > > > > > <<< FAILURE! > > > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | removing > > > > user... > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | Expected > > > > exception: > > > > > > Object of class [org.appfuse.model.User] with identifier [1]: not > > > > found > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.033 > > > > sec > > > > > > Running org.appfuse.web.pages.UserFormTest > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.198 > > > > sec > > > > > > Running org.appfuse.service.UserManagerTest > > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > > | > > > > Loading > > > > > > context for locations: classpath*:/WEB-INF/applicationContext*.xml > > > > > > INFO - > > > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > > > Began transaction (1): transaction manager > > > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; > > default > > > > rollback > > > > > > = true > > > > > > INFO - AbstractTransactionalSpringContextTests.endTransaction(281) > > | > > > > Rolled > > > > > > back transaction after test execution > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > > 0.522 > > > > sec > > > > > > <<< FAILURE! > > > > > > Running org.appfuse.dao.UserDaoTest > > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > > | > > > > Loading > > > > > > context for locations: > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > > | > > > > Loading > > > > > > context for locations: > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > INFO - AbstractSingleSpringContextTests.loadContextLocations(177) > > | > > > > Loading > > > > > > context for locations: > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: > > 0.294 > > > > sec > > > > > > <<< FAILURE! > > > > > > > > > > > > Results : > > > > > > > > > > > > Tests in error: > > > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > > > > > [INFO] > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > [ERROR] BUILD FAILURE > > > > > > [INFO] > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > [INFO] There are test failures. > > > > > > [INFO] > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > [INFO] For more information, run Maven with the -e switch > > > > > > [INFO] > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > [INFO] Total time: 9 seconds > > > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > > > [INFO] Final Memory: 10M/23M > > > > > > [INFO] > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > *** > > > > > > > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > > > *** > > > > > > > > > > > > > > > > > > I get the fol > > > > > > -- > > > > > > View this message in context: > > > > > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > > > Sent from the Equinox Users mailing list archive at Nabble.com. > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > -- > > > > http://raibledesigns.com > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [hidden email] > > > > For additional commands, e-mail: [hidden email] > > > > > > -- > > > Best regards, > > > > > > Kiran Karnati > > > > > > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > > > Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [hidden email] > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > -- > > http://raibledesigns.com > > -- > Best regards, > > Kiran Karnati > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com |
||||||||||||||||
|
Kiran Karnati-2
|
Dear Matt,
>>If you don't want to receive AppFuse's mailing list traffic, you can post in a forum-like fashion to http://appfuse.org/forums. That sounds Great and I have seen that there is a sub forum Equinox in Appfuse . so I will post any issues over there. What will be a good starting point for Appfuse Light ? does it make sense , to start it with Sping Live book ? because as beginner for Appfuse Light , we expect some tutorials like stuff to guide us getting started. last time when I used Equinox, your Spring Live was good enough to start with. Do you think still that book help me out with 1.8 version ? have you updated your Spring Live book ? thank you. /Kiran -------- Original-Nachricht -------- Datum: Thu, 24 May 2007 08:42:42 -0600 Von: "Matt Raible" <[hidden email]> An: [hidden email] Betreff: Re: [equinox-user] Getting Started > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > Dear Matt, > > > > It has been a couple of months, that I worked with Equinox and now > wanted to start with Appfuse-Light. I think it is nothing but 1.8 version of > Equinox, isn't it ? > > Yes, you are correct. > > > > > but I could not find anything in the mailing lists of Appfuse Light. > > > > Are you all guys using Equinox mailing lists for 1.8 version as well? > and the appfuse-light is just for name purpose? > > Actually, I'd prefer folks use the AppFuse user mailing list. Because > the problems are so similar between AppFuse and AppFuse Light - it > seems to make sense to combine the communities. If you don't want to > receive AppFuse's mailing list traffic, you can post in a forum-like > fashion to http://appfuse.org/forums. > > > > > Then its ok , I will also continue here. > > > > Any way , thank you matt. > > You're welcome. > > Matt > > > > > Regards > > > > /Kiran > > > > -------- Original-Nachricht -------- > > Datum: Wed, 23 May 2007 15:12:16 -0600 > > Von: "Matt Raible" <[hidden email]> > > An: [hidden email] > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta > + JDO (any variant) for dummies > > > > > Yes, the name has changed. Read more at: > > > > > > http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta > > > > > > The name change was mentioned in the last release of Equinox: > > > > > > http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 > > > > > > Sorry if I didn't communicate that well on this mailing list. > > > > > > Matt > > > > > > On 5/23/07, Kiran Karnati <[hidden email]> wrote: > > > > Hello Matt, > > > > > > > > have changed Equinox to App fuse Light ? > > > > > > > > Sorry to ask such a questions but I am not following you since 3 > months. > > > > > > > > so, could you please send me required links for the new product and > > > latest release? > > > > > > > > thank you. > > > > > > > > Regards > > > > /Kiran > > > > -------- Original-Nachricht -------- > > > > Datum: Thu, 3 May 2007 12:00:47 +0200 > > > > Von: "Matt Raible" <[hidden email]> > > > > An: [hidden email] > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox > 1.8beta > > > + JDO (any variant) for dummies > > > > > > > > > Sorry, I didn't get a chance to look at this last night. > > > > > Unfortunately, I probably won't get a chance today either. > Hopefully > > > > > next week. Sorry for the delay. > > > > > > > > > > Matt > > > > > > > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > > > > David, > > > > > > > > > > > > I haven't tried to make JDO work with HSQLDB, but it should be > > > fairly > > > > > > simple. I'll give it a try later tonight (Central European > time). > > > > > > > > > > > > Matt > > > > > > > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > > > > > > > Hi, I am documentation challenged. I am attempting to get > appfuse > > > > > equinox > > > > > > > 1.8 up and running using JDO + HSQLDB. While the explanations > > > seem > > > > > simple > > > > > > > enough, the documentation is confusing, perhaps because it all > > > > > references > > > > > > > Hibernate, and if you click around on the site, somewhere > between > > > > > java.net, > > > > > > > Matt's site, the appfuse site, the forums, you'll find a > > > collection of > > > > > new > > > > > > > and old information, some helpful, some not. > > > > > > > > > > > > > > I am having a problem passing the initial TEST suites. I > would > > > love > > > > > some > > > > > > > assistance from someone who has verified the 1.8 beta release > > > against > > > > > HSQLDB > > > > > > > and who can share any tips on the setup. I'll be glad to wiki > or > > > blog > > > > > this > > > > > > > information somewhere to help future users. Any assistance > would > > > be > > > > > greatly > > > > > > > appreciated. I put in my time on this, researched the google > > > thing, > > > > > and > > > > > > > spent time on the email list to piece this together, but could > not > > > > > come up > > > > > > > with a solution. People say it works, so I would love to find > out > > > > > how. > > > > > > > > > > > > > > I have done the following: > > > > > > > 1) edit jdbc.properties > > > > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > > > > jdbc.username=sa > > > > > > > jdbc.password= > > > > > > > 2) edit pom.xml: > > > > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > > > > <dependency> > > > > > > > <groupId>hsqldb</groupId> > > > > > > > <artifactId>hsqldb</artifactId> > > > > > > > <version>1.8.0.7</version> > > > > > > > </dependency> > > > > > > > 3) I didn't do anything to the applicationContext-jdo.xml. > Wasn't > > > > > obvious > > > > > > > what should change. > > > > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server > > > -database.0 > > > > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > > > > 5) Next up, run 'mvn' > > > > > > > > > > > > > > I get the following test failures > > > > > > > > > > > > > > [INFO] Scanning for projects... > > > > > > > [INFO] > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > [INFO] Building AppFuse Light > > > > > > > [INFO] task-segment: [install] > > > > > > > [INFO] > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > [INFO] [resources:resources] > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > [INFO] [compiler:compile] > > > > > > > [INFO] Compiling 17 source files to > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > > > > [INFO] [resources:testResources] > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > [INFO] [compiler:testCompile] > > > > > > > [INFO] Compiling 7 source files to > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > > > > [INFO] [surefire:test] > > > > > > > [INFO] Surefire report directory: > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > T E S T S > > > > > > > ------------------------------------------------------- > > > > > > > Running org.appfuse.web.pages.UserListTest > > > > > > > INFO - > AbstractSingleSpringContextTests.loadContextLocations(177) > > > | > > > > > Loading > > > > > > > context for locations: /WEB-INF/applicationContext*.xml > > > > > > > ERROR - RequestCycle.step(1043) | The class > > > "org.appfuse.model.User" > > > > > is not > > > > > > > Persistence-Capable. This means that it either hasnt been > > > enhanced, or > > > > > that > > > > > > > the enhanced version of the file is not in the CLASSPATH (or > is > > > hidden > > > > > by an > > > > > > > unenhanced version), or the Meta-Data for the class is not > found.; > > > > > nested > > > > > > > exception is > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > > > The > > > > > > > class "org.appfuse.model.User" is not Persistence-Capable. > This > > > means > > > > > that > > > > > > > it either hasnt been enhanced, or that the enhanced version of > the > > > > > file is > > > > > > > not in the CLASSPATH (or is hidden by an unenhanced version), > or > > > the > > > > > > > Meta-Data for the class is not found. > > > > > > > org.springframework.orm.jdo.JdoUsageException: The class > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > means > > > that > > > > > it > > > > > > > either hasnt been enhanced, or that the enhanced version of > the > > > file > > > > > is not > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or > the > > > > > Meta-Data > > > > > > > for the class is not found.; nested exception is > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The > class > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > means > > > that > > > > > it > > > > > > > either hasnt been enhanced, or that the enhanced version of > the > > > file > > > > > is not > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or > the > > > > > Meta-Data > > > > > > > for the class is not found. > > > > > > > Caused by: > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The > class > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > means > > > that > > > > > it > > > > > > > either hasnt been enhanced, or that the enhanced version of > the > > > file > > > > > is not > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or > the > > > > > Meta-Data > > > > > > > for the class is not found. > > > > > > > at > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > > > > at > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > > > > at > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > > > > at > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > > > > at > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > > > > at > > > org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > > > > at > > > org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > > > > at org.jpox.store.query.Query.execute(Query.java:855) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > > > > at > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > > > > at > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > > > > at > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > > > > at > > > org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > > > > at > > > > > > > > > > > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > > > > at $Proxy1.getUsers(Unknown Source) > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > at > > > > > > > > > > > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > > > > > at > > > > > > > > > > > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > > > > at > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > > > > at > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > > > > at > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > > > > at > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > > > > at > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > > > > at > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > > > > at > org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > > > > at > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > > > > Method) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > > > > at > > > > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > > > > at java.lang.Class.newInstance0(Class.java:350) > > > > > > > at java.lang.Class.newInstance(Class.java:303) > > > > > > > at > > > > > > > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > > > > at > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > > > > at > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > > > > at > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > > > > at > > > > > > > > > > > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > > > > at > > > > > > > > > > > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > > > > at > > > > > > > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > > > > at > > > > > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > > > > at wicket.RequestCycle.step(RequestCycle.java:1010) > > > > > > > at wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > > > > at wicket.RequestCycle.request(RequestCycle.java:454) > > > > > > > at > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > > > > at > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > > > > at > > > > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > > > > at > > > > > > > > > > > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > at junit.framework.TestCase.runTest(TestCase.java:164) > > > > > > > at junit.framework.TestCase.runBare(TestCase.java:130) > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > > > > at > > > junit.framework.TestResult$1.protect(TestResult.java:106) > > > > > > > at > > > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > > > > at junit.framework.TestResult.run(TestResult.java:109) > > > > > > > at junit.framework.TestCase.run(TestCase.java:120) > > > > > > > at > junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > at > > > > > > > > > > > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > > > > at > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > > > > at > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > > > > at > > > org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > Method) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > at > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > at > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > > > > at > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > elapsed: > > > 2.975 > > > > > sec > > > > > > > <<< FAILURE! > > > > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | > removing > > > > > user... > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | > Expected > > > > > exception: > > > > > > > Object of class [org.appfuse.model.User] with identifier [1]: > not > > > > > found > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > elapsed: > > > 0.033 > > > > > sec > > > > > > > Running org.appfuse.web.pages.UserFormTest > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > elapsed: > > > 0.198 > > > > > sec > > > > > > > Running org.appfuse.service.UserManagerTest > > > > > > > INFO - > AbstractSingleSpringContextTests.loadContextLocations(177) > > > | > > > > > Loading > > > > > > > context for locations: > classpath*:/WEB-INF/applicationContext*.xml > > > > > > > INFO - > > > > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > > > > Began transaction (1): transaction manager > > > > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; > > > default > > > > > rollback > > > > > > > = true > > > > > > > INFO - > AbstractTransactionalSpringContextTests.endTransaction(281) > > > | > > > > > Rolled > > > > > > > back transaction after test execution > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > elapsed: > > > 0.522 > > > > > sec > > > > > > > <<< FAILURE! > > > > > > > Running org.appfuse.dao.UserDaoTest > > > > > > > INFO - > AbstractSingleSpringContextTests.loadContextLocations(177) > > > | > > > > > Loading > > > > > > > context for locations: > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > INFO - > AbstractSingleSpringContextTests.loadContextLocations(177) > > > | > > > > > Loading > > > > > > > context for locations: > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > INFO - > AbstractSingleSpringContextTests.loadContextLocations(177) > > > | > > > > > Loading > > > > > > > context for locations: > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time > elapsed: > > > 0.294 > > > > > sec > > > > > > > <<< FAILURE! > > > > > > > > > > > > > > Results : > > > > > > > > > > > > > > Tests in error: > > > > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > [ERROR] BUILD FAILURE > > > > > > > [INFO] > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > [INFO] There are test failures. > > > > > > > [INFO] > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > [INFO] For more information, run Maven with the -e switch > > > > > > > [INFO] > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > [INFO] Total time: 9 seconds > > > > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > > > > [INFO] Final Memory: 10M/23M > > > > > > > [INFO] > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > *** > > > > > > > > > > > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > I get the fol > > > > > > > -- > > > > > > > View this message in context: > > > > > > > > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > > > > Sent from the Equinox Users mailing list archive at > Nabble.com. > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > > For additional commands, e-mail: > [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://raibledesigns.com > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [hidden email] > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > -- > > > > Best regards, > > > > > > > > Kiran Karnati > > > > > > > > > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > > > > Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [hidden email] > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > -- > > > http://raibledesigns.com > > > > -- > > Best regards, > > > > Kiran Karnati > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > -- > http://raibledesigns.com -- Best regards, Kiran Karnati GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
You should be able to buy it from http://springlive.com. This book
still uses Equinox 1.0 for many of it's chapters, but the later chapters use Equinox 1.7. Yeah, AppFuse Light needs more documentation. In the future, I hope to create some tutorials like AppFuse has. Matt On 5/24/07, Kiran Karnati <[hidden email]> wrote: > Dear Matt, > > >>If you don't want to > receive AppFuse's mailing list traffic, you can post in a forum-like > fashion to http://appfuse.org/forums. > > That sounds Great and I have seen that there is a sub forum Equinox in Appfuse . > > so I will post any issues over there. > > What will be a good starting point for Appfuse Light ? > > does it make sense , to start it with Sping Live book ? > > because as beginner for Appfuse Light , we expect some tutorials like stuff to guide us getting started. > > last time when I used Equinox, your Spring Live was good enough to start with. Do you think still that book help me out with 1.8 version ? > > have you updated your Spring Live book ? > > thank you. > > /Kiran > > -------- Original-Nachricht -------- > Datum: Thu, 24 May 2007 08:42:42 -0600 > Von: "Matt Raible" <[hidden email]> > An: [hidden email] > Betreff: Re: [equinox-user] Getting Started > > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > > Dear Matt, > > > > > > It has been a couple of months, that I worked with Equinox and now > > wanted to start with Appfuse-Light. I think it is nothing but 1.8 version of > > Equinox, isn't it ? > > > > Yes, you are correct. > > > > > > > > but I could not find anything in the mailing lists of Appfuse Light. > > > > > > Are you all guys using Equinox mailing lists for 1.8 version as well? > > and the appfuse-light is just for name purpose? > > > > Actually, I'd prefer folks use the AppFuse user mailing list. Because > > the problems are so similar between AppFuse and AppFuse Light - it > > seems to make sense to combine the communities. If you don't want to > > receive AppFuse's mailing list traffic, you can post in a forum-like > > fashion to http://appfuse.org/forums. > > > > > > > > Then its ok , I will also continue here. > > > > > > Any way , thank you matt. > > > > You're welcome. > > > > Matt > > > > > > > > Regards > > > > > > /Kiran > > > > > > -------- Original-Nachricht -------- > > > Datum: Wed, 23 May 2007 15:12:16 -0600 > > > Von: "Matt Raible" <[hidden email]> > > > An: [hidden email] > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox 1.8beta > > + JDO (any variant) for dummies > > > > > > > Yes, the name has changed. Read more at: > > > > > > > > http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta > > > > > > > > The name change was mentioned in the last release of Equinox: > > > > > > > > http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 > > > > > > > > Sorry if I didn't communicate that well on this mailing list. > > > > > > > > Matt > > > > > > > > On 5/23/07, Kiran Karnati <[hidden email]> wrote: > > > > > Hello Matt, > > > > > > > > > > have changed Equinox to App fuse Light ? > > > > > > > > > > Sorry to ask such a questions but I am not following you since 3 > > months. > > > > > > > > > > so, could you please send me required links for the new product and > > > > latest release? > > > > > > > > > > thank you. > > > > > > > > > > Regards > > > > > /Kiran > > > > > -------- Original-Nachricht -------- > > > > > Datum: Thu, 3 May 2007 12:00:47 +0200 > > > > > Von: "Matt Raible" <[hidden email]> > > > > > An: [hidden email] > > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox > > 1.8beta > > > > + JDO (any variant) for dummies > > > > > > > > > > > Sorry, I didn't get a chance to look at this last night. > > > > > > Unfortunately, I probably won't get a chance today either. > > Hopefully > > > > > > next week. Sorry for the delay. > > > > > > > > > > > > Matt > > > > > > > > > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > > > > > David, > > > > > > > > > > > > > > I haven't tried to make JDO work with HSQLDB, but it should be > > > > fairly > > > > > > > simple. I'll give it a try later tonight (Central European > > time). > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > > > > > > > > > Hi, I am documentation challenged. I am attempting to get > > appfuse > > > > > > equinox > > > > > > > > 1.8 up and running using JDO + HSQLDB. While the explanations > > > > seem > > > > > > simple > > > > > > > > enough, the documentation is confusing, perhaps because it all > > > > > > references > > > > > > > > Hibernate, and if you click around on the site, somewhere > > between > > > > > > java.net, > > > > > > > > Matt's site, the appfuse site, the forums, you'll find a > > > > collection of > > > > > > new > > > > > > > > and old information, some helpful, some not. > > > > > > > > > > > > > > > > I am having a problem passing the initial TEST suites. I > > would > > > > love > > > > > > some > > > > > > > > assistance from someone who has verified the 1.8 beta release > > > > against > > > > > > HSQLDB > > > > > > > > and who can share any tips on the setup. I'll be glad to wiki > > or > > > > blog > > > > > > this > > > > > > > > information somewhere to help future users. Any assistance > > would > > > > be > > > > > > greatly > > > > > > > > appreciated. I put in my time on this, researched the google > > > > thing, > > > > > > and > > > > > > > > spent time on the email list to piece this together, but could > > not > > > > > > come up > > > > > > > > with a solution. People say it works, so I would love to find > > out > > > > > > how. > > > > > > > > > > > > > > > > I have done the following: > > > > > > > > 1) edit jdbc.properties > > > > > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > > > > > jdbc.username=sa > > > > > > > > jdbc.password= > > > > > > > > 2) edit pom.xml: > > > > > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > > > > > <dependency> > > > > > > > > <groupId>hsqldb</groupId> > > > > > > > > <artifactId>hsqldb</artifactId> > > > > > > > > <version>1.8.0.7</version> > > > > > > > > </dependency> > > > > > > > > 3) I didn't do anything to the applicationContext-jdo.xml. > > Wasn't > > > > > > obvious > > > > > > > > what should change. > > > > > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server > > > > -database.0 > > > > > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > > > > > 5) Next up, run 'mvn' > > > > > > > > > > > > > > > > I get the following test failures > > > > > > > > > > > > > > > > [INFO] Scanning for projects... > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > [INFO] Building AppFuse Light > > > > > > > > [INFO] task-segment: [install] > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > [INFO] [resources:resources] > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > [INFO] [compiler:compile] > > > > > > > > [INFO] Compiling 17 source files to > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > > > > > [INFO] [resources:testResources] > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > [INFO] [compiler:testCompile] > > > > > > > > [INFO] Compiling 7 source files to > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > > > > > [INFO] [surefire:test] > > > > > > > > [INFO] Surefire report directory: > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > T E S T S > > > > > > > > ------------------------------------------------------- > > > > > > > > Running org.appfuse.web.pages.UserListTest > > > > > > > > INFO - > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > | > > > > > > Loading > > > > > > > > context for locations: /WEB-INF/applicationContext*.xml > > > > > > > > ERROR - RequestCycle.step(1043) | The class > > > > "org.appfuse.model.User" > > > > > > is not > > > > > > > > Persistence-Capable. This means that it either hasnt been > > > > enhanced, or > > > > > > that > > > > > > > > the enhanced version of the file is not in the CLASSPATH (or > > is > > > > hidden > > > > > > by an > > > > > > > > unenhanced version), or the Meta-Data for the class is not > > found.; > > > > > > nested > > > > > > > > exception is > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > > > > The > > > > > > > > class "org.appfuse.model.User" is not Persistence-Capable. > > This > > > > means > > > > > > that > > > > > > > > it either hasnt been enhanced, or that the enhanced version of > > the > > > > > > file is > > > > > > > > not in the CLASSPATH (or is hidden by an unenhanced version), > > or > > > > the > > > > > > > > Meta-Data for the class is not found. > > > > > > > > org.springframework.orm.jdo.JdoUsageException: The class > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > means > > > > that > > > > > > it > > > > > > > > either hasnt been enhanced, or that the enhanced version of > > the > > > > file > > > > > > is not > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or > > the > > > > > > Meta-Data > > > > > > > > for the class is not found.; nested exception is > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The > > class > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > means > > > > that > > > > > > it > > > > > > > > either hasnt been enhanced, or that the enhanced version of > > the > > > > file > > > > > > is not > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or > > the > > > > > > Meta-Data > > > > > > > > for the class is not found. > > > > > > > > Caused by: > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: The > > class > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > means > > > > that > > > > > > it > > > > > > > > either hasnt been enhanced, or that the enhanced version of > > the > > > > file > > > > > > is not > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), or > > the > > > > > > Meta-Data > > > > > > > > for the class is not found. > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > > > > > at > > > > org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > > > > > at > > > > org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > > > > > at org.jpox.store.query.Query.execute(Query.java:855) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > > > > > at > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > > > > > at > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > > > > > at > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > > > > > at > > > > org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > Method) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > > > > > at $Proxy1.getUsers(Unknown Source) > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > Method) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > > > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > > > > > at > > org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > > > > > at > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > > > > > Method) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > > > > > at > > > > > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > > > > > at java.lang.Class.newInstance0(Class.java:350) > > > > > > > > at java.lang.Class.newInstance(Class.java:303) > > > > > > > > at > > > > > > > > > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > > > > > at > > > > > > > > > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > > > > > at > > > > > > > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > > > > > at wicket.RequestCycle.step(RequestCycle.java:1010) > > > > > > > > at wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > > > > > at wicket.RequestCycle.request(RequestCycle.java:454) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > > > > > at > > > > > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > Method) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > at junit.framework.TestCase.runTest(TestCase.java:164) > > > > > > > > at junit.framework.TestCase.runBare(TestCase.java:130) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > > > > > at > > > > junit.framework.TestResult$1.protect(TestResult.java:106) > > > > > > > > at > > > > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > > > > > at junit.framework.TestResult.run(TestResult.java:109) > > > > > > > > at junit.framework.TestCase.run(TestCase.java:120) > > > > > > > > at > > junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > > > > > at junit.framework.TestSuite.run(TestSuite.java:225) > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > Method) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > > > > > at > > > > org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > Method) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > elapsed: > > > > 2.975 > > > > > > sec > > > > > > > > <<< FAILURE! > > > > > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | > > removing > > > > > > user... > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | > > Expected > > > > > > exception: > > > > > > > > Object of class [org.appfuse.model.User] with identifier [1]: > > not > > > > > > found > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > elapsed: > > > > 0.033 > > > > > > sec > > > > > > > > Running org.appfuse.web.pages.UserFormTest > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > elapsed: > > > > 0.198 > > > > > > sec > > > > > > > > Running org.appfuse.service.UserManagerTest > > > > > > > > INFO - > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > | > > > > > > Loading > > > > > > > > context for locations: > > classpath*:/WEB-INF/applicationContext*.xml > > > > > > > > INFO - > > > > > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > > > > > Began transaction (1): transaction manager > > > > > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; > > > > default > > > > > > rollback > > > > > > > > = true > > > > > > > > INFO - > > AbstractTransactionalSpringContextTests.endTransaction(281) > > > > | > > > > > > Rolled > > > > > > > > back transaction after test execution > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > elapsed: > > > > 0.522 > > > > > > sec > > > > > > > > <<< FAILURE! > > > > > > > > Running org.appfuse.dao.UserDaoTest > > > > > > > > INFO - > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > | > > > > > > Loading > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > INFO - > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > | > > > > > > Loading > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > INFO - > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > | > > > > > > Loading > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time > > elapsed: > > > > 0.294 > > > > > > sec > > > > > > > > <<< FAILURE! > > > > > > > > > > > > > > > > Results : > > > > > > > > > > > > > > > > Tests in error: > > > > > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [ERROR] BUILD FAILURE > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] There are test failures. > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] For more information, run Maven with the -e switch > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > [INFO] Total time: 9 seconds > > > > > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > > > > > [INFO] Final Memory: 10M/23M > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > > > > I get the fol > > > > > > > > -- > > > > > > > > View this message in context: > > > > > > > > > > > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > > > > > Sent from the Equinox Users mailing list archive at > > Nabble.com. > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > > > For additional commands, e-mail: > > [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > -- > > > > > Best regards, > > > > > > > > > > Kiran Karnati > > > > > > > > > > > > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > > > > > Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [hidden email] > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > > > > > > -- > > > > http://raibledesigns.com > > > > > > -- > > > Best regards, > > > > > > Kiran Karnati > > > > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [hidden email] > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > -- > > http://raibledesigns.com > > -- > Best regards, > > Kiran Karnati > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com |
||||||||||||||||
|
Kiran Karnati-2
|
But for the moment , Spring Live is the only way to get started ?
or , are there any other documents specially for AppFuse Light ? Thank you -------- Original-Nachricht -------- Datum: Thu, 24 May 2007 09:20:57 -0600 Von: "Matt Raible" <[hidden email]> An: [hidden email] Betreff: Re: [equinox-user] Getting Started > You should be able to buy it from http://springlive.com. This book > still uses Equinox 1.0 for many of it's chapters, but the later > chapters use Equinox 1.7. > > Yeah, AppFuse Light needs more documentation. In the future, I hope to > create some tutorials like AppFuse has. > > Matt > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > Dear Matt, > > > > >>If you don't want to > > receive AppFuse's mailing list traffic, you can post in a forum-like > > fashion to http://appfuse.org/forums. > > > > That sounds Great and I have seen that there is a sub forum Equinox in > Appfuse . > > > > so I will post any issues over there. > > > > What will be a good starting point for Appfuse Light ? > > > > does it make sense , to start it with Sping Live book ? > > > > because as beginner for Appfuse Light , we expect some tutorials like > stuff to guide us getting started. > > > > last time when I used Equinox, your Spring Live was good enough to start > with. Do you think still that book help me out with 1.8 version ? > > > > have you updated your Spring Live book ? > > > > thank you. > > > > /Kiran > > > > -------- Original-Nachricht -------- > > Datum: Thu, 24 May 2007 08:42:42 -0600 > > Von: "Matt Raible" <[hidden email]> > > An: [hidden email] > > Betreff: Re: [equinox-user] Getting Started > > > > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > > > Dear Matt, > > > > > > > > It has been a couple of months, that I worked with Equinox and now > > > wanted to start with Appfuse-Light. I think it is nothing but 1.8 > version of > > > Equinox, isn't it ? > > > > > > Yes, you are correct. > > > > > > > > > > > but I could not find anything in the mailing lists of Appfuse Light. > > > > > > > > Are you all guys using Equinox mailing lists for 1.8 version as > well? > > > and the appfuse-light is just for name purpose? > > > > > > Actually, I'd prefer folks use the AppFuse user mailing list. Because > > > the problems are so similar between AppFuse and AppFuse Light - it > > > seems to make sense to combine the communities. If you don't want to > > > receive AppFuse's mailing list traffic, you can post in a forum-like > > > fashion to http://appfuse.org/forums. > > > > > > > > > > > Then its ok , I will also continue here. > > > > > > > > Any way , thank you matt. > > > > > > You're welcome. > > > > > > Matt > > > > > > > > > > > Regards > > > > > > > > /Kiran > > > > > > > > -------- Original-Nachricht -------- > > > > Datum: Wed, 23 May 2007 15:12:16 -0600 > > > > Von: "Matt Raible" <[hidden email]> > > > > An: [hidden email] > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox > 1.8beta > > > + JDO (any variant) for dummies > > > > > > > > > Yes, the name has changed. Read more at: > > > > > > > > > > http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta > > > > > > > > > > The name change was mentioned in the last release of Equinox: > > > > > > > > > > http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 > > > > > > > > > > Sorry if I didn't communicate that well on this mailing list. > > > > > > > > > > Matt > > > > > > > > > > On 5/23/07, Kiran Karnati <[hidden email]> wrote: > > > > > > Hello Matt, > > > > > > > > > > > > have changed Equinox to App fuse Light ? > > > > > > > > > > > > Sorry to ask such a questions but I am not following you since 3 > > > months. > > > > > > > > > > > > so, could you please send me required links for the new product > and > > > > > latest release? > > > > > > > > > > > > thank you. > > > > > > > > > > > > Regards > > > > > > /Kiran > > > > > > -------- Original-Nachricht -------- > > > > > > Datum: Thu, 3 May 2007 12:00:47 +0200 > > > > > > Von: "Matt Raible" <[hidden email]> > > > > > > An: [hidden email] > > > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox > > > 1.8beta > > > > > + JDO (any variant) for dummies > > > > > > > > > > > > > Sorry, I didn't get a chance to look at this last night. > > > > > > > Unfortunately, I probably won't get a chance today either. > > > Hopefully > > > > > > > next week. Sorry for the delay. > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > > > > > > David, > > > > > > > > > > > > > > > > I haven't tried to make JDO work with HSQLDB, but it should > be > > > > > fairly > > > > > > > > simple. I'll give it a try later tonight (Central European > > > time). > > > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > > > > > > > > > > > Hi, I am documentation challenged. I am attempting to get > > > appfuse > > > > > > > equinox > > > > > > > > > 1.8 up and running using JDO + HSQLDB. While the > explanations > > > > > seem > > > > > > > simple > > > > > > > > > enough, the documentation is confusing, perhaps because it > all > > > > > > > references > > > > > > > > > Hibernate, and if you click around on the site, somewhere > > > between > > > > > > > java.net, > > > > > > > > > Matt's site, the appfuse site, the forums, you'll find a > > > > > collection of > > > > > > > new > > > > > > > > > and old information, some helpful, some not. > > > > > > > > > > > > > > > > > > I am having a problem passing the initial TEST suites. I > > > would > > > > > love > > > > > > > some > > > > > > > > > assistance from someone who has verified the 1.8 beta > release > > > > > against > > > > > > > HSQLDB > > > > > > > > > and who can share any tips on the setup. I'll be glad to > wiki > > > or > > > > > blog > > > > > > > this > > > > > > > > > information somewhere to help future users. Any > assistance > > > would > > > > > be > > > > > > > greatly > > > > > > > > > appreciated. I put in my time on this, researched the > > > > > thing, > > > > > > > and > > > > > > > > > spent time on the email list to piece this together, but > could > > > not > > > > > > > come up > > > > > > > > > with a solution. People say it works, so I would love to > find > > > out > > > > > > > how. > > > > > > > > > > > > > > > > > > I have done the following: > > > > > > > > > 1) edit jdbc.properties > > > > > > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > > > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > > > > > > jdbc.username=sa > > > > > > > > > jdbc.password= > > > > > > > > > 2) edit pom.xml: > > > > > > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > > > > > > <dependency> > > > > > > > > > <groupId>hsqldb</groupId> > > > > > > > > > <artifactId>hsqldb</artifactId> > > > > > > > > > <version>1.8.0.7</version> > > > > > > > > > </dependency> > > > > > > > > > 3) I didn't do anything to the applicationContext-jdo.xml. > > > Wasn't > > > > > > > obvious > > > > > > > > > what should change. > > > > > > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server > > > > > -database.0 > > > > > > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > > > > > > 5) Next up, run 'mvn' > > > > > > > > > > > > > > > > > > I get the following test failures > > > > > > > > > > > > > > > > > > [INFO] Scanning for projects... > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > > [INFO] Building AppFuse Light > > > > > > > > > [INFO] task-segment: [install] > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > > [INFO] [resources:resources] > > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > > [INFO] [compiler:compile] > > > > > > > > > [INFO] Compiling 17 source files to > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > > > > > > [INFO] [resources:testResources] > > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > > [INFO] [compiler:testCompile] > > > > > > > > > [INFO] Compiling 7 source files to > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > > > > > > [INFO] [surefire:test] > > > > > > > > > [INFO] Surefire report directory: > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > T E S T S > > > > > > > > > ------------------------------------------------------- > > > > > > > > > Running org.appfuse.web.pages.UserListTest > > > > > > > > > INFO - > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > | > > > > > > > Loading > > > > > > > > > context for locations: /WEB-INF/applicationContext*.xml > > > > > > > > > ERROR - RequestCycle.step(1043) | The class > > > > > "org.appfuse.model.User" > > > > > > > is not > > > > > > > > > Persistence-Capable. This means that it either hasnt been > > > > > enhanced, or > > > > > > > that > > > > > > > > > the enhanced version of the file is not in the CLASSPATH > (or > > > is > > > > > hidden > > > > > > > by an > > > > > > > > > unenhanced version), or the Meta-Data for the class is not > > > found.; > > > > > > > nested > > > > > > > > > exception is > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > > > > > The > > > > > > > > > class "org.appfuse.model.User" is not Persistence-Capable. > > > This > > > > > means > > > > > > > that > > > > > > > > > it either hasnt been enhanced, or that the enhanced > version of > > > the > > > > > > > file is > > > > > > > > > not in the CLASSPATH (or is hidden by an unenhanced > version), > > > or > > > > > the > > > > > > > > > Meta-Data for the class is not found. > > > > > > > > > org.springframework.orm.jdo.JdoUsageException: The class > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > > means > > > > > that > > > > > > > it > > > > > > > > > either hasnt been enhanced, or that the enhanced version > of > > > the > > > > > file > > > > > > > is not > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), > or > > > the > > > > > > > Meta-Data > > > > > > > > > for the class is not found.; nested exception is > > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > The > > > class > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > > means > > > > > that > > > > > > > it > > > > > > > > > either hasnt been enhanced, or that the enhanced version > of > > > the > > > > > file > > > > > > > is not > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), > or > > > the > > > > > > > Meta-Data > > > > > > > > > for the class is not found. > > > > > > > > > Caused by: > > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > The > > > class > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > > means > > > > > that > > > > > > > it > > > > > > > > > either hasnt been enhanced, or that the enhanced version > of > > > the > > > > > file > > > > > > > is not > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), > or > > > the > > > > > > > Meta-Data > > > > > > > > > for the class is not found. > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > > > > > > at > > > > > org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > > > > > > at > > > > > org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > > > > > > at > org.jpox.store.query.Query.execute(Query.java:855) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > > > > > > at > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > > > > > > at > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > > > > > > at > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > > > > > > at > > > > > org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > Method) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > at > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > > > > > > at $Proxy1.getUsers(Unknown Source) > > > > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > Method) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > at > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > > > > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > > > > > > at > > > org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > > > > > > at > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > > > > > > Method) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > > > > > > at > > > > > > > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > > > > > > at java.lang.Class.newInstance0(Class.java:350) > > > > > > > > > at java.lang.Class.newInstance(Class.java:303) > > > > > > > > > at > > > > > > > > > > > > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > > > > > > at > > > > > > > > > > > > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > > > > > > at > > > > > > > > > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > > > > > > at > wicket.RequestCycle.step(RequestCycle.java:1010) > > > > > > > > > at > wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > > > > > > at > wicket.RequestCycle.request(RequestCycle.java:454) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > > > > > > at > > > > > > > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > Method) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > at > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > at > junit.framework.TestCase.runTest(TestCase.java:164) > > > > > > > > > at > junit.framework.TestCase.runBare(TestCase.java:130) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > > > > > > at > > > > > junit.framework.TestResult$1.protect(TestResult.java:106) > > > > > > > > > at > > > > > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > > > > > > at > junit.framework.TestResult.run(TestResult.java:109) > > > > > > > > > at junit.framework.TestCase.run(TestCase.java:120) > > > > > > > > > at > > > junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > > > > > > at > junit.framework.TestSuite.run(TestSuite.java:225) > > > > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > Method) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > at > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > > > > > > at > > > > > org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > > > > > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > Method) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > at > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > > elapsed: > > > > > 2.975 > > > > > > > sec > > > > > > > > > <<< FAILURE! > > > > > > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | > > > removing > > > > > > > user... > > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | > > > Expected > > > > > > > exception: > > > > > > > > > Object of class [org.appfuse.model.User] with identifier > [1]: > > > not > > > > > > > found > > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > > elapsed: > > > > > 0.033 > > > > > > > sec > > > > > > > > > Running org.appfuse.web.pages.UserFormTest > > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > > elapsed: > > > > > 0.198 > > > > > > > sec > > > > > > > > > Running org.appfuse.service.UserManagerTest > > > > > > > > > INFO - > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > | > > > > > > > Loading > > > > > > > > > context for locations: > > > classpath*:/WEB-INF/applicationContext*.xml > > > > > > > > > INFO - > > > > > > > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > > > > > > Began transaction (1): transaction manager > > > > > > > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; > > > > > default > > > > > > > rollback > > > > > > > > > = true > > > > > > > > > INFO - > > > AbstractTransactionalSpringContextTests.endTransaction(281) > > > > > | > > > > > > > Rolled > > > > > > > > > back transaction after test execution > > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > > elapsed: > > > > > 0.522 > > > > > > > sec > > > > > > > > > <<< FAILURE! > > > > > > > > > Running org.appfuse.dao.UserDaoTest > > > > > > > > > INFO - > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > | > > > > > > > Loading > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > INFO - > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > | > > > > > > > Loading > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > INFO - > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > | > > > > > > > Loading > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time > > > elapsed: > > > > > 0.294 > > > > > > > sec > > > > > > > > > <<< FAILURE! > > > > > > > > > > > > > > > > > > Results : > > > > > > > > > > > > > > > > > > Tests in error: > > > > > > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > > > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > > > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > > > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > [ERROR] BUILD FAILURE > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > [INFO] There are test failures. > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > [INFO] For more information, run Maven with the -e switch > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > [INFO] Total time: 9 seconds > > > > > > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > > > > > > [INFO] Final Memory: 10M/23M > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > > > > > > > I get the fol > > > > > > > > > -- > > > > > > > > > View this message in context: > > > > > > > > > > > > > > > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > > > > > > Sent from the Equinox Users mailing list archive at > > > Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > To unsubscribe, e-mail: > [hidden email] > > > > > > > > > For additional commands, e-mail: > > > [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > > For additional commands, e-mail: > [hidden email] > > > > > > > > > > > > -- > > > > > > Best regards, > > > > > > > > > > > > Kiran Karnati > > > > > > > > > > > > > > > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu > sparen! > > > > > > Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://raibledesigns.com > > > > > > > > -- > > > > Best regards, > > > > > > > > Kiran Karnati > > > > > > > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > > > Alle Infos und kostenlose Anmeldung: > http://www.gmx.net/de/go/freemail > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [hidden email] > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > -- > > > http://raibledesigns.com > > > > -- > > Best regards, > > > > Kiran Karnati > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > -- > http://raibledesigns.com -- Best regards, Kiran Karnati Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kanns mit allen: http://www.gmx.net/de/go/multimessenger --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
|
mraible
|
There is currently no documentation for AppFuse Light outside of
Spring Live. However, if you're familiar with all the frameworks you've chosen to use, it should be easy enough to understand. We're not doing any real magic, just setting up the dependencies and making sure the versions play well together. Matt On 5/24/07, Kiran Karnati <[hidden email]> wrote: > But for the moment , Spring Live is the only way to get started ? > > or , are there any other documents specially for AppFuse Light ? > > Thank you > > -------- Original-Nachricht -------- > Datum: Thu, 24 May 2007 09:20:57 -0600 > Von: "Matt Raible" <[hidden email]> > An: [hidden email] > Betreff: Re: [equinox-user] Getting Started > > > You should be able to buy it from http://springlive.com. This book > > still uses Equinox 1.0 for many of it's chapters, but the later > > chapters use Equinox 1.7. > > > > Yeah, AppFuse Light needs more documentation. In the future, I hope to > > create some tutorials like AppFuse has. > > > > Matt > > > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > > Dear Matt, > > > > > > >>If you don't want to > > > receive AppFuse's mailing list traffic, you can post in a forum-like > > > fashion to http://appfuse.org/forums. > > > > > > That sounds Great and I have seen that there is a sub forum Equinox in > > Appfuse . > > > > > > so I will post any issues over there. > > > > > > What will be a good starting point for Appfuse Light ? > > > > > > does it make sense , to start it with Sping Live book ? > > > > > > because as beginner for Appfuse Light , we expect some tutorials like > > stuff to guide us getting started. > > > > > > last time when I used Equinox, your Spring Live was good enough to start > > with. Do you think still that book help me out with 1.8 version ? > > > > > > have you updated your Spring Live book ? > > > > > > thank you. > > > > > > /Kiran > > > > > > -------- Original-Nachricht -------- > > > Datum: Thu, 24 May 2007 08:42:42 -0600 > > > Von: "Matt Raible" <[hidden email]> > > > An: [hidden email] > > > Betreff: Re: [equinox-user] Getting Started > > > > > > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > > > > Dear Matt, > > > > > > > > > > It has been a couple of months, that I worked with Equinox and now > > > > wanted to start with Appfuse-Light. I think it is nothing but 1.8 > > version of > > > > Equinox, isn't it ? > > > > > > > > Yes, you are correct. > > > > > > > > > > > > > > but I could not find anything in the mailing lists of Appfuse Light. > > > > > > > > > > Are you all guys using Equinox mailing lists for 1.8 version as > > well? > > > > and the appfuse-light is just for name purpose? > > > > > > > > Actually, I'd prefer folks use the AppFuse user mailing list. Because > > > > the problems are so similar between AppFuse and AppFuse Light - it > > > > seems to make sense to combine the communities. If you don't want to > > > > receive AppFuse's mailing list traffic, you can post in a forum-like > > > > fashion to http://appfuse.org/forums. > > > > > > > > > > > > > > Then its ok , I will also continue here. > > > > > > > > > > Any way , thank you matt. > > > > > > > > You're welcome. > > > > > > > > Matt > > > > > > > > > > > > > > Regards > > > > > > > > > > /Kiran > > > > > > > > > > -------- Original-Nachricht -------- > > > > > Datum: Wed, 23 May 2007 15:12:16 -0600 > > > > > Von: "Matt Raible" <[hidden email]> > > > > > An: [hidden email] > > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox > > 1.8beta > > > > + JDO (any variant) for dummies > > > > > > > > > > > Yes, the name has changed. Read more at: > > > > > > > > > > > > http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta > > > > > > > > > > > > The name change was mentioned in the last release of Equinox: > > > > > > > > > > > > http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 > > > > > > > > > > > > Sorry if I didn't communicate that well on this mailing list. > > > > > > > > > > > > Matt > > > > > > > > > > > > On 5/23/07, Kiran Karnati <[hidden email]> wrote: > > > > > > > Hello Matt, > > > > > > > > > > > > > > have changed Equinox to App fuse Light ? > > > > > > > > > > > > > > Sorry to ask such a questions but I am not following you since 3 > > > > months. > > > > > > > > > > > > > > so, could you please send me required links for the new product > > and > > > > > > latest release? > > > > > > > > > > > > > > thank you. > > > > > > > > > > > > > > Regards > > > > > > > /Kiran > > > > > > > -------- Original-Nachricht -------- > > > > > > > Datum: Thu, 3 May 2007 12:00:47 +0200 > > > > > > > Von: "Matt Raible" <[hidden email]> > > > > > > > An: [hidden email] > > > > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox > > > > 1.8beta > > > > > > + JDO (any variant) for dummies > > > > > > > > > > > > > > > Sorry, I didn't get a chance to look at this last night. > > > > > > > > Unfortunately, I probably won't get a chance today either. > > > > Hopefully > > > > > > > > next week. Sorry for the delay. > > > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > > > > > > > David, > > > > > > > > > > > > > > > > > > I haven't tried to make JDO work with HSQLDB, but it should > > be > > > > > > fairly > > > > > > > > > simple. I'll give it a try later tonight (Central European > > > > time). > > > > > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > > > > > > > > > > > > > Hi, I am documentation challenged. I am attempting to get > > > > appfuse > > > > > > > > equinox > > > > > > > > > > 1.8 up and running using JDO + HSQLDB. While the > > explanations > > > > > > seem > > > > > > > > simple > > > > > > > > > > enough, the documentation is confusing, perhaps because it > > all > > > > > > > > references > > > > > > > > > > Hibernate, and if you click around on the site, somewhere > > > > between > > > > > > > > java.net, > > > > > > > > > > Matt's site, the appfuse site, the forums, you'll find a > > > > > > collection of > > > > > > > > new > > > > > > > > > > and old information, some helpful, some not. > > > > > > > > > > > > > > > > > > > > I am having a problem passing the initial TEST suites. I > > > > would > > > > > > love > > > > > > > > some > > > > > > > > > > assistance from someone who has verified the 1.8 beta > > release > > > > > > against > > > > > > > > HSQLDB > > > > > > > > > > and who can share any tips on the setup. I'll be glad to > > wiki > > > > or > > > > > > blog > > > > > > > > this > > > > > > > > > > information somewhere to help future users. Any > > assistance > > > > would > > > > > > be > > > > > > > > greatly > > > > > > > > > > appreciated. I put in my time on this, researched the > > > > > > thing, > > > > > > > > and > > > > > > > > > > spent time on the email list to piece this together, but > > could > > > > not > > > > > > > > come up > > > > > > > > > > with a solution. People say it works, so I would love to > > find > > > > out > > > > > > > > how. > > > > > > > > > > > > > > > > > > > > I have done the following: > > > > > > > > > > 1) edit jdbc.properties > > > > > > > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > > > > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > > > > > > > jdbc.username=sa > > > > > > > > > > jdbc.password= > > > > > > > > > > 2) edit pom.xml: > > > > > > > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > > > > > > > <dependency> > > > > > > > > > > <groupId>hsqldb</groupId> > > > > > > > > > > <artifactId>hsqldb</artifactId> > > > > > > > > > > <version>1.8.0.7</version> > > > > > > > > > > </dependency> > > > > > > > > > > 3) I didn't do anything to the applicationContext-jdo.xml. > > > > Wasn't > > > > > > > > obvious > > > > > > > > > > what should change. > > > > > > > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar org.hsqldb.Server > > > > > > -database.0 > > > > > > > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > > > > > > > 5) Next up, run 'mvn' > > > > > > > > > > > > > > > > > > > > I get the following test failures > > > > > > > > > > > > > > > > > > > > [INFO] Scanning for projects... > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > > > [INFO] Building AppFuse Light > > > > > > > > > > [INFO] task-segment: [install] > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > > > [INFO] [resources:resources] > > > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > > > [INFO] [compiler:compile] > > > > > > > > > > [INFO] Compiling 17 source files to > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > > > > > > > [INFO] [resources:testResources] > > > > > > > > > > [INFO] Using default encoding to copy filtered resources. > > > > > > > > > > [INFO] [compiler:testCompile] > > > > > > > > > > [INFO] Compiling 7 source files to > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > > > > > > > [INFO] [surefire:test] > > > > > > > > > > [INFO] Surefire report directory: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > T E S T S > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > Running org.appfuse.web.pages.UserListTest > > > > > > > > > > INFO - > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > | > > > > > > > > Loading > > > > > > > > > > context for locations: /WEB-INF/applicationContext*.xml > > > > > > > > > > ERROR - RequestCycle.step(1043) | The class > > > > > > "org.appfuse.model.User" > > > > > > > > is not > > > > > > > > > > Persistence-Capable. This means that it either hasnt been > > > > > > enhanced, or > > > > > > > > that > > > > > > > > > > the enhanced version of the file is not in the CLASSPATH > > (or > > > > is > > > > > > hidden > > > > > > > > by an > > > > > > > > > > unenhanced version), or the Meta-Data for the class is not > > > > found.; > > > > > > > > nested > > > > > > > > > > exception is > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > > > > > > The > > > > > > > > > > class "org.appfuse.model.User" is not Persistence-Capable. > > > > This > > > > > > means > > > > > > > > that > > > > > > > > > > it either hasnt been enhanced, or that the enhanced > > version of > > > > the > > > > > > > > file is > > > > > > > > > > not in the CLASSPATH (or is hidden by an unenhanced > > version), > > > > or > > > > > > the > > > > > > > > > > Meta-Data for the class is not found. > > > > > > > > > > org.springframework.orm.jdo.JdoUsageException: The class > > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > > > means > > > > > > that > > > > > > > > it > > > > > > > > > > either hasnt been enhanced, or that the enhanced version > > of > > > > the > > > > > > file > > > > > > > > is not > > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), > > or > > > > the > > > > > > > > Meta-Data > > > > > > > > > > for the class is not found.; nested exception is > > > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > The > > > > class > > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > > > means > > > > > > that > > > > > > > > it > > > > > > > > > > either hasnt been enhanced, or that the enhanced version > > of > > > > the > > > > > > file > > > > > > > > is not > > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), > > or > > > > the > > > > > > > > Meta-Data > > > > > > > > > > for the class is not found. > > > > > > > > > > Caused by: > > > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > The > > > > class > > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. This > > > > means > > > > > > that > > > > > > > > it > > > > > > > > > > either hasnt been enhanced, or that the enhanced version > > of > > > > the > > > > > > file > > > > > > > > is not > > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced version), > > or > > > > the > > > > > > > > Meta-Data > > > > > > > > > > for the class is not found. > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > > > > > > > at > > > > > > org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > > > > > > > at > > > > > > org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > > > > > > > at > > org.jpox.store.query.Query.execute(Query.java:855) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > > > > > > > at > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > > > > > > > at > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > > > > > > > at > > > > > > org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > > > > > > > at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > at > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > > > > > > > at $Proxy1.getUsers(Unknown Source) > > > > > > > > > > at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > at > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > > > > > > > at wicket.proxy.$Proxy6.getUsers(Unknown Source) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > > > > > > > at > > > > org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > > > > > > > at > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > > > > > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > > > > > > > at > > > > > > > > > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > > > > > > > at java.lang.Class.newInstance0(Class.java:350) > > > > > > > > > > at java.lang.Class.newInstance(Class.java:303) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > > > > > > > at > > > > > > > > > > > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > > > > > > > at > > wicket.RequestCycle.step(RequestCycle.java:1010) > > > > > > > > > > at > > wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > > > > > > > at > > wicket.RequestCycle.request(RequestCycle.java:454) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > > > > > > > at > > > > > > > > > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > > > > > > > at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > at > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > at > > junit.framework.TestCase.runTest(TestCase.java:164) > > > > > > > > > > at > > junit.framework.TestCase.runBare(TestCase.java:130) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > > > > > > > at > > > > > > junit.framework.TestResult$1.protect(TestResult.java:106) > > > > > > > > > > at > > > > > > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > > > > > > > at > > junit.framework.TestResult.run(TestResult.java:109) > > > > > > > > > > at junit.framework.TestCase.run(TestCase.java:120) > > > > > > > > > > at > > > > junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > > > > > > > at > > junit.framework.TestSuite.run(TestSuite.java:225) > > > > > > > > > > at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > at > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > > > > > > > at > > > > > > org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > > > > > > > at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > at > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > > > elapsed: > > > > > > 2.975 > > > > > > > > sec > > > > > > > > > > <<< FAILURE! > > > > > > > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | > > > > removing > > > > > > > > user... > > > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | > > > > Expected > > > > > > > > exception: > > > > > > > > > > Object of class [org.appfuse.model.User] with identifier > > [1]: > > > > not > > > > > > > > found > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > > > elapsed: > > > > > > 0.033 > > > > > > > > sec > > > > > > > > > > Running org.appfuse.web.pages.UserFormTest > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > > > elapsed: > > > > > > 0.198 > > > > > > > > sec > > > > > > > > > > Running org.appfuse.service.UserManagerTest > > > > > > > > > > INFO - > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > | > > > > > > > > Loading > > > > > > > > > > context for locations: > > > > classpath*:/WEB-INF/applicationContext*.xml > > > > > > > > > > INFO - > > > > > > > > > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > > > > > > > Began transaction (1): transaction manager > > > > > > > > > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; > > > > > > default > > > > > > > > rollback > > > > > > > > > > = true > > > > > > > > > > INFO - > > > > AbstractTransactionalSpringContextTests.endTransaction(281) > > > > > > | > > > > > > > > Rolled > > > > > > > > > > back transaction after test execution > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > > > elapsed: > > > > > > 0.522 > > > > > > > > sec > > > > > > > > > > <<< FAILURE! > > > > > > > > > > Running org.appfuse.dao.UserDaoTest > > > > > > > > > > INFO - > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > | > > > > > > > > Loading > > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > > INFO - > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > | > > > > > > > > Loading > > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > > INFO - > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > | > > > > > > > > Loading > > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time > > > > elapsed: > > > > > > 0.294 > > > > > > > > sec > > > > > > > > > > <<< FAILURE! > > > > > > > > > > > > > > > > > > > > Results : > > > > > > > > > > > > > > > > > > > > Tests in error: > > > > > > > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > > > > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > > > > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > > > > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > > > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > > > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > [ERROR] BUILD FAILURE > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > [INFO] There are test failures. > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > [INFO] For more information, run Maven with the -e switch > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > [INFO] Total time: 9 seconds > > > > > > > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > > > > > > > [INFO] Final Memory: 10M/23M > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I get the fol > > > > > > > > > > -- > > > > > > > > > > View this message in context: > > > > > > > > > > > > > > > > > > > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > > > > > > > Sent from the Equinox Users mailing list archive at > > > > Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > > To unsubscribe, e-mail: > > [hidden email] > > > > > > > > > > For additional commands, e-mail: > > > > [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > > > For additional commands, e-mail: > > [hidden email] > > > > > > > > > > > > > > -- > > > > > > > Best regards, > > > > > > > > > > > > > > Kiran Karnati > > > > > > > > > > > > > > > > > > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu > > sparen! > > > > > > > Ideal f�r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > http://raibledesigns.com > > > > > > > > > > -- > > > > > Best regards, > > > > > > > > > > Kiran Karnati > > > > > > > > > > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > > > > Alle Infos und kostenlose Anmeldung: > > http://www.gmx.net/de/go/freemail > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [hidden email] > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > > > > > > -- > > > > http://raibledesigns.com > > > > > > -- > > > Best regards, > > > > > > Kiran Karnati > > > > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [hidden email] > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > -- > > http://raibledesigns.com > > -- > Best regards, > > Kiran Karnati > > > Psssst! Schon vom neuen GMX MultiMessenger gehört? > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > -- http://raibledesigns.com |
||||||||||||||||
|
Kiran Karnati-2
|
Thank you Matt,
we start with Sping Live then. Kiran. -------- Original-Nachricht -------- Datum: Thu, 24 May 2007 09:37:25 -0600 Von: "Matt Raible" <[hidden email]> An: [hidden email] Betreff: Re: [equinox-user] Getting Started > There is currently no documentation for AppFuse Light outside of > Spring Live. However, if you're familiar with all the frameworks > you've chosen to use, it should be easy enough to understand. We're > not doing any real magic, just setting up the dependencies and making > sure the versions play well together. > > Matt > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > But for the moment , Spring Live is the only way to get started ? > > > > or , are there any other documents specially for AppFuse Light ? > > > > Thank you > > > > -------- Original-Nachricht -------- > > Datum: Thu, 24 May 2007 09:20:57 -0600 > > Von: "Matt Raible" <[hidden email]> > > An: [hidden email] > > Betreff: Re: [equinox-user] Getting Started > > > > > You should be able to buy it from http://springlive.com. This book > > > still uses Equinox 1.0 for many of it's chapters, but the later > > > chapters use Equinox 1.7. > > > > > > Yeah, AppFuse Light needs more documentation. In the future, I hope to > > > create some tutorials like AppFuse has. > > > > > > Matt > > > > > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > > > Dear Matt, > > > > > > > > >>If you don't want to > > > > receive AppFuse's mailing list traffic, you can post in a forum-like > > > > fashion to http://appfuse.org/forums. > > > > > > > > That sounds Great and I have seen that there is a sub forum Equinox > in > > > Appfuse . > > > > > > > > so I will post any issues over there. > > > > > > > > What will be a good starting point for Appfuse Light ? > > > > > > > > does it make sense , to start it with Sping Live book ? > > > > > > > > because as beginner for Appfuse Light , we expect some tutorials > like > > > stuff to guide us getting started. > > > > > > > > last time when I used Equinox, your Spring Live was good enough to > start > > > with. Do you think still that book help me out with 1.8 version ? > > > > > > > > have you updated your Spring Live book ? > > > > > > > > thank you. > > > > > > > > /Kiran > > > > > > > > -------- Original-Nachricht -------- > > > > Datum: Thu, 24 May 2007 08:42:42 -0600 > > > > Von: "Matt Raible" <[hidden email]> > > > > An: [hidden email] > > > > Betreff: Re: [equinox-user] Getting Started > > > > > > > > > On 5/24/07, Kiran Karnati <[hidden email]> wrote: > > > > > > Dear Matt, > > > > > > > > > > > > It has been a couple of months, that I worked with Equinox and > now > > > > > wanted to start with Appfuse-Light. I think it is nothing but 1.8 > > > version of > > > > > Equinox, isn't it ? > > > > > > > > > > Yes, you are correct. > > > > > > > > > > > > > > > > > but I could not find anything in the mailing lists of Appfuse > Light. > > > > > > > > > > > > Are you all guys using Equinox mailing lists for 1.8 version as > > > well? > > > > > and the appfuse-light is just for name purpose? > > > > > > > > > > Actually, I'd prefer folks use the AppFuse user mailing list. > Because > > > > > the problems are so similar between AppFuse and AppFuse Light - it > > > > > seems to make sense to combine the communities. If you don't want > to > > > > > receive AppFuse's mailing list traffic, you can post in a > forum-like > > > > > fashion to http://appfuse.org/forums. > > > > > > > > > > > > > > > > > Then its ok , I will also continue here. > > > > > > > > > > > > Any way , thank you matt. > > > > > > > > > > You're welcome. > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > Regards > > > > > > > > > > > > /Kiran > > > > > > > > > > > > -------- Original-Nachricht -------- > > > > > > Datum: Wed, 23 May 2007 15:12:16 -0600 > > > > > > Von: "Matt Raible" <[hidden email]> > > > > > > An: [hidden email] > > > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with Equinox > > > 1.8beta > > > > > + JDO (any variant) for dummies > > > > > > > > > > > > > Yes, the name has changed. Read more at: > > > > > > > > > > > > > > http://raibledesigns.com/rd/entry/appfuse_light_1_8_beta > > > > > > > > > > > > > > The name change was mentioned in the last release of Equinox: > > > > > > > > > > > > > > http://raibledesigns.com/rd/entry/equinox_a_k_a_appfuse1 > > > > > > > > > > > > > > Sorry if I didn't communicate that well on this mailing list. > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > On 5/23/07, Kiran Karnati <[hidden email]> wrote: > > > > > > > > Hello Matt, > > > > > > > > > > > > > > > > have changed Equinox to App fuse Light ? > > > > > > > > > > > > > > > > Sorry to ask such a questions but I am not following you > since 3 > > > > > months. > > > > > > > > > > > > > > > > so, could you please send me required links for the new > product > > > and > > > > > > > latest release? > > > > > > > > > > > > > > > > thank you. > > > > > > > > > > > > > > > > Regards > > > > > > > > /Kiran > > > > > > > > -------- Original-Nachricht -------- > > > > > > > > Datum: Thu, 3 May 2007 12:00:47 +0200 > > > > > > > > Von: "Matt Raible" <[hidden email]> > > > > > > > > An: [hidden email] > > > > > > > > Betreff: Re: [equinox-user] Getting HSQLDB to work with > Equinox > > > > > 1.8beta > > > > > > > + JDO (any variant) for dummies > > > > > > > > > > > > > > > > > Sorry, I didn't get a chance to look at this last night. > > > > > > > > > Unfortunately, I probably won't get a chance today either. > > > > > Hopefully > > > > > > > > > next week. Sorry for the delay. > > > > > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > On 5/2/07, Matt Raible <[hidden email]> wrote: > > > > > > > > > > David, > > > > > > > > > > > > > > > > > > > > I haven't tried to make JDO work with HSQLDB, but it > should > > > be > > > > > > > fairly > > > > > > > > > > simple. I'll give it a try later tonight (Central > European > > > > > time). > > > > > > > > > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > > > On 5/1/07, David J. Kordsmeier <[hidden email]> wrote: > > > > > > > > > > > > > > > > > > > > > > Hi, I am documentation challenged. I am attempting to > get > > > > > appfuse > > > > > > > > > equinox > > > > > > > > > > > 1.8 up and running using JDO + HSQLDB. While the > > > explanations > > > > > > > seem > > > > > > > > > simple > > > > > > > > > > > enough, the documentation is confusing, perhaps > because it > > > all > > > > > > > > > references > > > > > > > > > > > Hibernate, and if you click around on the site, > somewhere > > > > > between > > > > > > > > > java.net, > > > > > > > > > > > Matt's site, the appfuse site, the forums, you'll find > a > > > > > > > collection of > > > > > > > > > new > > > > > > > > > > > and old information, some helpful, some not. > > > > > > > > > > > > > > > > > > > > > > I am having a problem passing the initial TEST suites. > I > > > > > would > > > > > > > love > > > > > > > > > some > > > > > > > > > > > assistance from someone who has verified the 1.8 beta > > > release > > > > > > > against > > > > > > > > > HSQLDB > > > > > > > > > > > and who can share any tips on the setup. I'll be glad > to > > > wiki > > > > > or > > > > > > > blog > > > > > > > > > this > > > > > > > > > > > information somewhere to help future users. Any > > > assistance > > > > > would > > > > > > > be > > > > > > > > > greatly > > > > > > > > > > > appreciated. I put in my time on this, researched the > > > > > > > thing, > > > > > > > > > and > > > > > > > > > > > spent time on the email list to piece this together, > but > > > could > > > > > not > > > > > > > > > come up > > > > > > > > > > > with a solution. People say it works, so I would love > to > > > find > > > > > out > > > > > > > > > how. > > > > > > > > > > > > > > > > > > > > > > I have done the following: > > > > > > > > > > > 1) edit jdbc.properties > > > > > > > > > > > jdbc.driverClassName=org.hsqldb.jdbcDriver > > > > > > > > > > > jdbc.url=jdbc:hsqldb:hsql://localhost/appfuse > > > > > > > > > > > jdbc.username=sa > > > > > > > > > > > jdbc.password= > > > > > > > > > > > 2) edit pom.xml: > > > > > > > > > > > add the HSSQLDB entry to make the jdbc jar available: > > > > > > > > > > > <dependency> > > > > > > > > > > > <groupId>hsqldb</groupId> > > > > > > > > > > > <artifactId>hsqldb</artifactId> > > > > > > > > > > > <version>1.8.0.7</version> > > > > > > > > > > > </dependency> > > > > > > > > > > > 3) I didn't do anything to the > applicationContext-jdo.xml. > > > > > Wasn't > > > > > > > > > obvious > > > > > > > > > > > what should change. > > > > > > > > > > > 4) Run hsqldb: java -cp lib/hsqldb.jar > org.hsqldb.Server > > > > > > > -database.0 > > > > > > > > > > > /tmp/appfuse-db -dbname.0 appfuse > > > > > > > > > > > 5) Next up, run 'mvn' > > > > > > > > > > > > > > > > > > > > > > I get the following test failures > > > > > > > > > > > > > > > > > > > > > > [INFO] Scanning for projects... > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > > > > [INFO] Building AppFuse Light > > > > > > > > > > > [INFO] task-segment: [install] > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------------------- > > > > > > > > > > > [INFO] [resources:resources] > > > > > > > > > > > [INFO] Using default encoding to copy filtered > resources. > > > > > > > > > > > [INFO] [compiler:compile] > > > > > > > > > > > [INFO] Compiling 17 source files to > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/classes > > > > > > > > > > > [INFO] [resources:testResources] > > > > > > > > > > > [INFO] Using default encoding to copy filtered > resources. > > > > > > > > > > > [INFO] [compiler:testCompile] > > > > > > > > > > > [INFO] Compiling 7 source files to > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/test-classes > > > > > > > > > > > [INFO] [surefire:test] > > > > > > > > > > > [INFO] Surefire report directory: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta/target/surefire-reports > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > > T E S T S > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > > > > > Running org.appfuse.web.pages.UserListTest > > > > > > > > > > > INFO - > > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > > | > > > > > > > > > Loading > > > > > > > > > > > context for locations: > /WEB-INF/applicationContext*.xml > > > > > > > > > > > ERROR - RequestCycle.step(1043) | The class > > > > > > > "org.appfuse.model.User" > > > > > > > > > is not > > > > > > > > > > > Persistence-Capable. This means that it either hasnt > been > > > > > > > enhanced, or > > > > > > > > > that > > > > > > > > > > > the enhanced version of the file is not in the > CLASSPATH > > > (or > > > > > is > > > > > > > hidden > > > > > > > > > by an > > > > > > > > > > > unenhanced version), or the Meta-Data for the class is > not > > > > > found.; > > > > > > > > > nested > > > > > > > > > > > exception is > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > > > > > > > The > > > > > > > > > > > class "org.appfuse.model.User" is not > Persistence-Capable. > > > > > This > > > > > > > means > > > > > > > > > that > > > > > > > > > > > it either hasnt been enhanced, or that the enhanced > > > version of > > > > > the > > > > > > > > > file is > > > > > > > > > > > not in the CLASSPATH (or is hidden by an unenhanced > > > version), > > > > > or > > > > > > > the > > > > > > > > > > > Meta-Data for the class is not found. > > > > > > > > > > > org.springframework.orm.jdo.JdoUsageException: The > class > > > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. > This > > > > > means > > > > > > > that > > > > > > > > > it > > > > > > > > > > > either hasnt been enhanced, or that the enhanced > version > > > of > > > > > the > > > > > > > file > > > > > > > > > is not > > > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced > version), > > > or > > > > > the > > > > > > > > > Meta-Data > > > > > > > > > > > for the class is not found.; nested exception is > > > > > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > The > > > > > class > > > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. > This > > > > > means > > > > > > > that > > > > > > > > > it > > > > > > > > > > > either hasnt been enhanced, or that the enhanced > version > > > of > > > > > the > > > > > > > file > > > > > > > > > is not > > > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced > version), > > > or > > > > > the > > > > > > > > > Meta-Data > > > > > > > > > > > for the class is not found. > > > > > > > > > > > Caused by: > > > > > > > > > > > > org.jpox.exceptions.ClassNotPersistenceCapableException: > > > The > > > > > class > > > > > > > > > > > "org.appfuse.model.User" is not Persistence-Capable. > This > > > > > means > > > > > > > that > > > > > > > > > it > > > > > > > > > > > either hasnt been enhanced, or that the enhanced > version > > > of > > > > > the > > > > > > > file > > > > > > > > > is not > > > > > > > > > > > in the CLASSPATH (or is hidden by an unenhanced > version), > > > or > > > > > the > > > > > > > > > Meta-Data > > > > > > > > > > > for the class is not found. > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.assertPersistenceCapableClass(AbstractPersistenceManager.java:4125) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.AbstractPersistenceManager.getExtent(AbstractPersistenceManager.java:2311) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.compileCandidates(JDOQLQuery.java:1114) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery$Compiler.executionCompile(JDOQLQuery.java:881) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.jpox.store.rdbms.query.JDOQLQuery.performExecute(JDOQLQuery.java:497) > > > > > > > > > > > at > > > > > > > org.jpox.store.query.Query.executeWithMap(Query.java:959) > > > > > > > > > > > at > > > > > > > org.jpox.store.query.Query.executeWithArray(Query.java:932) > > > > > > > > > > > at > > > org.jpox.store.query.Query.execute(Query.java:855) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate$18.doInJdo(JdoTemplate.java:491) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:260) > > > > > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:484) > > > > > > > > > > > at > > > > > > > > > > > > > > > > org.springframework.orm.jdo.JdoTemplate.find(JdoTemplate.java:474) > > > > > > > > > > > at > > > > > > > org.appfuse.dao.jdo.UserDaoJdo.getUsers(UserDaoJdo.java:21) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.service.impl.UserManagerImpl.getUsers(UserManagerImpl.java:18) > > > > > > > > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > > Method) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > > at > > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:203) > > > > > > > > > > > at $Proxy1.getUsers(Unknown Source) > > > > > > > > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > > Method) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > > at > > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:377) > > > > > > > > > > > at wicket.proxy.$Proxy6.getUsers(Unknown > Source) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.SortableUserDataProvider.size(SortableUserDataProvider.java:67) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataViewBase.internalGetItemCount(DataViewBase.java:135) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getRowCount(AbstractPageableView.java:231) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.getPageCount(AbstractPageableView.java:302) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.setCurrentPage(AbstractPageableView.java:265) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.pageable.AbstractPageableView.internalSetRowsPerPage(AbstractPageableView.java:208) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.extensions.markup.html.repeater.data.DataView.setItemsPerPage(DataView.java:101) > > > > > > > > > > > at > > > > > org.appfuse.web.pages.UserList.<init>(UserList.java:88) > > > > > > > > > > > at > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > > > > > > > > > Method) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > > > > > > > > > > > at > > > > > > > > > > > > java.lang.reflect.Constructor.newInstance(Constructor.java:494) > > > > > > > > > > > at > java.lang.Class.newInstance0(Class.java:350) > > > > > > > > > > > at java.lang.Class.newInstance(Class.java:303) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:58) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:267) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:286) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:205) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) > > > > > > > > > > > at > > > > > > > > > > > > > > > > wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:929) > > > > > > > > > > > at > > > wicket.RequestCycle.step(RequestCycle.java:1010) > > > > > > > > > > > at > > > wicket.RequestCycle.steps(RequestCycle.java:1084) > > > > > > > > > > > at > > > wicket.RequestCycle.request(RequestCycle.java:454) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:318) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:307) > > > > > > > > > > > at > > > > > > > > > > > > wicket.util.tester.WicketTester.startPage(WicketTester.java:283) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.appfuse.web.pages.UserListTest.testRenderPage(UserListTest.java:28) > > > > > > > > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > > Method) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > > at > > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > > at > > > junit.framework.TestCase.runTest(TestCase.java:164) > > > > > > > > > > > at > > > junit.framework.TestCase.runBare(TestCase.java:130) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69) > > > > > > > > > > > at > > > > > > > junit.framework.TestResult$1.protect(TestResult.java:106) > > > > > > > > > > > at > > > > > > > > > > junit.framework.TestResult.runProtected(TestResult.java:124) > > > > > > > > > > > at > > > junit.framework.TestResult.run(TestResult.java:109) > > > > > > > > > > > at > junit.framework.TestCase.run(TestCase.java:120) > > > > > > > > > > > at > > > > > junit.framework.TestSuite.runTest(TestSuite.java:230) > > > > > > > > > > > at > > > junit.framework.TestSuite.run(TestSuite.java:225) > > > > > > > > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > > Method) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > > at > > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) > > > > > > > > > > > at > > > > > > > org.apache.maven.surefire.Surefire.run(Surefire.java:132) > > > > > > > > > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > > > > > > Method) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > > > > > > > > > > at > > > java.lang.reflect.Method.invoke(Method.java:585) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) > > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > > > > elapsed: > > > > > > > 2.975 > > > > > > > > > sec > > > > > > > > > > > <<< FAILURE! > > > > > > > > > > > Running org.appfuse.service.impl.UserManagerImplTest > > > > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(38) | > > > > > removing > > > > > > > > > user... > > > > > > > > > > > DEBUG - UserManagerImplTest.testAddAndRemoveUser(62) | > > > > > Expected > > > > > > > > > exception: > > > > > > > > > > > Object of class [org.appfuse.model.User] with > identifier > > > [1]: > > > > > not > > > > > > > > > found > > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > > > > elapsed: > > > > > > > 0.033 > > > > > > > > > sec > > > > > > > > > > > Running org.appfuse.web.pages.UserFormTest > > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > > > > elapsed: > > > > > > > 0.198 > > > > > > > > > sec > > > > > > > > > > > Running org.appfuse.service.UserManagerTest > > > > > > > > > > > INFO - > > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > > | > > > > > > > > > Loading > > > > > > > > > > > context for locations: > > > > > classpath*:/WEB-INF/applicationContext*.xml > > > > > > > > > > > INFO - > > > > > > > > > > > > AbstractTransactionalSpringContextTests.startNewTransaction(314) | > > > > > > > > > > > Began transaction (1): transaction manager > > > > > > > > > > > > > > [org.springframework.orm.jdo.JdoTransactionManager@b8afce]; > > > > > > > default > > > > > > > > > rollback > > > > > > > > > > > = true > > > > > > > > > > > INFO - > > > > > AbstractTransactionalSpringContextTests.endTransaction(281) > > > > > > > | > > > > > > > > > Rolled > > > > > > > > > > > back transaction after test execution > > > > > > > > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time > > > > > elapsed: > > > > > > > 0.522 > > > > > > > > > sec > > > > > > > > > > > <<< FAILURE! > > > > > > > > > > > Running org.appfuse.dao.UserDaoTest > > > > > > > > > > > INFO - > > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > > | > > > > > > > > > Loading > > > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > > > INFO - > > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > > | > > > > > > > > > Loading > > > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > > > INFO - > > > > > AbstractSingleSpringContextTests.loadContextLocations(177) > > > > > > > | > > > > > > > > > Loading > > > > > > > > > > > context for locations: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /WEB-INF/applicationContext*.xml,/org/appfuse/dao/applicationContext-test.xml > > > > > > > > > > > Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time > > > > > elapsed: > > > > > > > 0.294 > > > > > > > > > sec > > > > > > > > > > > <<< FAILURE! > > > > > > > > > > > > > > > > > > > > > > Results : > > > > > > > > > > > > > > > > > > > > > > Tests in error: > > > > > > > > > > > testRenderPage(org.appfuse.web.pages.UserListTest) > > > > > > > > > > > testGetUsers(org.appfuse.service.UserManagerTest) > > > > > > > > > > > testGetUsers(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > testSaveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > testAddAndRemoveUser(org.appfuse.dao.UserDaoTest) > > > > > > > > > > > > > > > > > > > > > > Tests run: 7, Failures: 0, Errors: 5, Skipped: 0 > > > > > > > > > > > > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > [ERROR] BUILD FAILURE > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > [INFO] There are test failures. > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > [INFO] For more information, run Maven with the -e > switch > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > [INFO] Total time: 9 seconds > > > > > > > > > > > [INFO] Finished at: Tue May 01 12:21:18 PDT 2007 > > > > > > > > > > > [INFO] Final Memory: 10M/23M > > > > > > > > > > > [INFO] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > {/Users/dkords/dev/projects/slooce/test/appfuse-light-wicket-jdo-1.8-beta} > > > > > > > > > > > *** > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I get the fol > > > > > > > > > > > -- > > > > > > > > > > > View this message in context: > > > > > > > > > > > > > > > > > > > > > > > > > http://www.nabble.com/Getting-HSQLDB-to-work-with-Equinox-1.8beta-%2B-JDO-%28any-variant%29-for-dummies-tf3676814s2369.html#a10274513 > > > > > > > > > > > Sent from the Equinox Users mailing list archive at > > > > > Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > > > To unsubscribe, e-mail: > > > [hidden email] > > > > > > > > > > > For additional commands, e-mail: > > > > > [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > http://raibledesigns.com > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > To unsubscribe, e-mail: > [hidden email] > > > > > > > > > For additional commands, e-mail: > > > [hidden email] > > > > > > > > > > > > > > > > -- > > > > > > > > Best regards, > > > > > > > > > > > > > > > > Kiran Karnati > > > > > > > > > > > > > > > > > > > > > > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu > > > sparen! > > > > > > > > Ideal f�r Modem und ISDN: > http://www.gmx.net/de/go/smartsurfer > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: > [hidden email] > > > > > > > > For additional commands, e-mail: > [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > http://raibledesigns.com > > > > > > > > > > > > -- > > > > > > Best regards, > > > > > > > > > > > > Kiran Karnati > > > > > > > > > > > > > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > > > > > Alle Infos und kostenlose Anmeldung: > > > http://www.gmx.net/de/go/freemail > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > To unsubscribe, e-mail: [hidden email] > > > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > http://raibledesigns.com > > > > > > > > -- > > > > Best regards, > > > > > > > > Kiran Karnati > > > > > > > > > > > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > > > Alle Infos und kostenlose Anmeldung: > http://www.gmx.net/de/go/freemail > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [hidden email] > > > > For additional commands, e-mail: [hidden email] > > > > > > > > > > > > > > > > > -- > > > http://raibledesigns.com > > > > -- > > Best regards, > > > > Kiran Karnati > > > > > > Psssst! Schon vom neuen GMX MultiMessenger gehört? > > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [hidden email] > > For additional commands, e-mail: [hidden email] > > > > > > > -- > http://raibledesigns.com -- Best regards, Kiran Karnati GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |