[no subject]
I was messing around with our docbook processing today, and I found the docbkx-maven-plugin plugin, which makes the docbook handling much easier, and allows us to easily generate PDF from the documentation (something I was having a hard time doing with our embedded ant tasks). You can take a look at the output at: http://people.apache.org/~mprudhom/manual.pdf I've updated the pom to use the new processing mechanism. Please let me know if anyone has any problem with the new docs that get generated.
Re: [continuum] BUILD FAILURE: OpenJPA Distribution
Hi Wendy, Thanks for that. So where do we put this setting? Is it in the continuum build script that openjpa committers have access to? Thanks, Craig On Apr 21, 2007, at 2:35 PM, Wendy Smoak wrote: On 4/21/07, Craig L Russell <[EMAIL PROTECTED]> wrote: Hi, Could the vm used to build openjpa be given some more memory to allow the build to go through more often? Is this something the openjpa folks can do ourselves? export MAVEN_OPTS=-Xmx512m (Adjust as necessary. According to [1], JDK 1.5 max heap size defaults to 1/4 the physical memory, and I don't know how much is available to each vm.) [1] http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html -- Wendy Craig Russell DB PMC [EMAIL PROTECTED] http://db.apache.org/jdo smime.p7s Description: S/MIME cryptographic signature
Fwd: [continuum] BUILD FAILURE: OpenJPA Distribution
Hi, Could the vm used to build openjpa be given some more memory to allow the build to go through more often? Is this something the openjpa folks can do ourselves? Thanks, Craig Begin forwarded message: From: "[EMAIL PROTECTED]" [EMAIL PROTECTED]> Date: April 21, 2007 2:08:08 PM PDT To: [EMAIL PROTECTED] Subject: [continuum] BUILD FAILURE: OpenJPA Distribution Reply-To: open-jpa-dev@incubator.apache.org Online report : http://vmbuild.apache.org/continuum/servlet/ continuum/target/ProjectBuild.vm/view/ProjectBuild/id/85/buildId/ 119491 Build statistics: State: Failed Previous State: Failed Started at: Sat, 21 Apr 2007 14:03:39 -0700 Finished at: Sat, 21 Apr 2007 14:08:07 -0700 Total time: 4m 28s Build Trigger: Schedule Exit code: 1 Building machine hostname: vmbuild.apache.org Operating system : Linux(unknown) Java version : 1.5.0_06(Sun Microsystems Inc.) Changes mprudhom Changed link tag to xref since there is no enclosed describing text. /incubator/openjpa/trunk/openjpa-project/src/doc/ manual/ref_guide_optimization.xml mprudhom Output multi-page manual as well as single manual page. /incubator/openjpa/trunk/openjpa-project/pom.xml ** ** Output: ** ** [INFO] Scanning for projects... [INFO] -- -- [INFO] Building OpenJPA Distribution [INFO]task-segment: [clean, install] [INFO] -- -- [INFO] [clean:clean] [INFO] Deleting directory /x1/continuum/working-directory/85/target [INFO] Deleting directory /x1/continuum/working-directory/85/target/ classes [INFO] Deleting directory /x1/continuum/working-directory/85/target/ test-classes [INFO] [site:attach-descriptor] [WARNING] Artifact ant:ant:jar:1.6.5:runtime retains local scope 'runtime' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. Downloading: http://www.ibiblio.org/maven2/docbook/docbook-xsl/ 1.67.2/docbook-xsl-1.67.2.pom [WARNING] Unable to get resource 'docbook:docbook-xsl:pom:1.67.2' from repository central (http://www.ibiblio.org/maven2) [WARNING] DEPRECATED [descriptor]: Please use descriptors instead [INFO] [assembly:attached {execution: bin}] [INFO] Building zip: /x1/continuum/working-directory/85/target/ assembly/openjpa-project-0.9.8-incubating-SNAPSHOT-binary.zip [WARNING] DEPRECATED [descriptor]: Please use descriptors instead [INFO] [assembly:attached {execution: sources}] [INFO] -- -- [ERROR] FATAL ERROR [INFO] -- -- [INFO] Java heap space [INFO] -- -- [INFO] Trace java.lang.OutOfMemoryError: Java heap space [INFO] -- -- [INFO] Total time: 4 minutes 26 seconds [INFO] Finished at: Sat Apr 21 14:08:07 PDT 2007 [INFO] Final Memory: 11M/63M [INFO] -- -- ** ** Craig Russell DB PMC [EMAIL PROTECTED] http://db.apache.org/jdo smime.p7s Description: S/MIME cryptographic signature
OpenJPA problem wtih Sequence generator & many to one mapping samples required
Hi, We are using openjpa-0.9.6-incubating,we have situation need to work with sequence-generator in orm file. facing the problem in persisting data using sequence generator. How to resolve this without using a sequence generator in mapped-superclass. Exception in thread "main" org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is <4|true|0.9.6-incubating> org.apache.openjpa.persistence.ArgumentException: Superclass field "java.lang.Object.id" is mapped in the metadata for subclass "com.abc.xyz.mno.Header", but is not a persistent field. Caused by: <4|true|0.9.6-incubating> org.apache.openjpa.persistence.ArgumentException: Superclass field "java.lang.Object.id" is mapped in the metadata for subclass "com.abc.xyz.mno.Header", but is not a persistent field. at org.apache.openjpa.meta.ClassMetaData.getSuperclassField(ClassMetaData.java:894) at org.apache.openjpa.meta.ClassMetaData.resolveDefinedSuperclassFields(ClassMetaData.java:1186) at org.apache.openjpa.meta.ClassMetaData.defineSuperclassFields(ClassMetaData.java:1162) at org.apache.openjpa.jdbc.meta.MappingRepository.prepareMapping(MappingRepository.java:306) at org.apache.openjpa.meta.MetaDataRepository.preMapping(MetaDataRepository.java:600) at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:487) at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:283) at org.apache.openjpa.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:271) at org.apache.openjpa.jdbc.meta.MappingTool.getMapping(MappingTool.java:660) at org.apache.openjpa.jdbc.meta.MappingTool.buildSchema(MappingTool.java:732) at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java:630) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:161) at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:127) at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:164) at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:139) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:187) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:140) at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:52) at org.springframework.orm.jpa.JpaTransactionManager.createEntityManagerForTransaction(JpaTransactionManager.java:378) at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:302) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:349) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:255) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:102) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210) at $Proxy15.save(Unknown Source) at com.abc.xyz.xxx.repxxx.delegate.RepxDelegateImpl.schedule(RepxDelegateImpl.java:114) at com.abc.xyz.xxx.repxxx.RepxxImpl.schedule(RepImpl.java:61) at dao.execute.Rep.main(Repxxx.java:200) Could you share any samples available for persisting data uses sequence-generator of database and foreigkey constraint with may-to- one mapping. Thanks in advance for your help. Regards Saidulu - Check out what you're missing if you're not on Yahoo! Messenger