persistence.xml properties defined

2010-05-15 Thread Web developer
Hi. My persistence.xml contained ConnectionDriverName and ConnectionURL properties defined for the unit that was not in use. But even when I added tags into config for another unit - the effect is the same. John

org.apache.openjpa.jdbc.kernel.TableJDBCSeq

2010-05-16 Thread Web developer
It looks like the tool reports about successful creation of sequence table in hsqldb database. I found the database files in targeted directory. But when I executed this: select TABLE_NAME from INFORMATION_SCHEMA.TABLES; I haven't found a table with name "OPENJPA_SEQUENCE_TABLE". I used jdbc:hs

Log4j

2010-05-16 Thread Web developer
I still have trouble with log4j. Here are my arguments: -Dlog4j.appender.console=org.apache.log4j.ConsoleAppender -Dopenjpa.Log=log4j -Dlog4j.category.openjpa.Enhance=TRACE -Dlog4j.appender.console=org.apache.log4j.ConsoleAppender -Dopenjpa.Log=log4j -Dlog4j.category.openjpa.Enhance.MetaData=TRAC

HSQLDB sequence enforcing

2010-05-17 Thread Web developer
Hi. I opened that hsqldb datbase with a database manager. It looks like the tool reports about creation of a table. But sequence related table is not created. John

OpenJPA tests

2010-05-17 Thread Web developer
Here is a trace of tests: 439887 xml-persistence-unit WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.jdbc.schema.TestSchemaGenerator" loaded by org.apache.openjpa.lib.util.temporaryclassloa...@390472f9 has no metadata; enhancing as persistence aware. If you intended f

Test run

2010-05-17 Thread Web developer
Got the following notice when trying to run tests: enhance.all.entities: [echo] running enhancer 160 WARN [main] openjpa.Runtime - The configuration property named "openjpa.loglevel" was not recognized and will be ignored, although the name closely matches a valid property called "openjpa

Tests classes metadata

2010-05-17 Thread Web developer
One more thing: ce-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.jdbc.schema.TestSequenceGeneratorEnsureCapacityCall". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not

Re: [jira] Commented: (OPENJPA-1563) Better parameter validation on StoreCache.pinAll() method

2010-05-17 Thread Web developer
I have the following exception in junit tests: enhance.all.entities: [echo] running enhancer 283 WARN [main] openjpa.Runtime - The configuration property named "openjpa.loglevel" was not recognized and will be ignored, although the name closely matches a valid property called "openjpa.Log

OpenJPA data store problems

2010-05-17 Thread Web developer
People, please help me anyone with data store problems that I mentioned. Thanks. John

Re: Test run

2010-05-17 Thread Web developer
version of one of the pom.xml files it might still show up though. > > FWIW the changes were done under > OPENJPA-1557<https://issues.apache.org/jira/browse/OPENJPA-1557> > . > > -mike > > On Mon, May 17, 2010 at 5:54 AM, Web developer >wrote: > &g

Re: HSQLDB sequence enforcing

2010-05-17 Thread Web developer
nning? What do the Entities look like that you're using? > > ... please post enough information to help us help you. :) > > Thanks, > Rick > > On Mon, May 17, 2010 at 5:24 AM, Web developer >wrote: > > > Hi. I opened that hsqldb datbase with a database manager. It looks like > the > > tool reports about creation of a table. But sequence related table is not > > created. John > > >

Re: Test run

2010-05-17 Thread Web developer
es for revision > 923929<http://svn.apache.org/viewcvs?view=rev&rev=923929> back > to your copy of the source if you want - that should fix the problem. > > Regards, > -mike > > On Mon, May 17, 2010 at 9:54 AM, Web developer >wrote: > > > My version is 2.0

Re: persistence.xml properties defined

2010-05-17 Thread Web developer
ecify the persistence unit name when you create the entity manager > factory? If not, you may be picking up the default persistence unit which > likely has those properties defined. If you do specify the PU name could > you post your persistence.xml and the version of OpenJPA you are usi

Test trace

2010-05-17 Thread Web developer
I checked out the latest build from general svn trunk. Here what I got: [WARNING] /root/openjpa/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/nullity/TestBasicFieldNullity.java:[29,45] com.sun.corba.se.spi.legacy.connection.GetEndPointInfoAgainException is Sun proprietary A

Tests are ignored

2010-05-17 Thread Web developer
Here is the end of trace output: 5957 xml-persistence-unit WARN [main] openjpa.MetaData - Found duplicate metadata or mapping for "class org.apache.openjpa.persistence.access.xml.XMLPropertySub". Ignoring. 5958 xml-persistence-unit WARN [main] openjpa.MetaData - Found duplicate metadata o

Re: Test run

2010-05-19 Thread Web developer
ge is > benign > and can safely be ignored. You could merge the changes for revision > 923929<http://svn.apache.org/viewcvs?view=rev&rev=923929> back > to your copy of the source if you want - that should fix the problem. > > Regards, > -mike > > On Mon, May 1

Re: persistence.xml properties defined

2010-05-21 Thread Web developer
." prefix for the property names? e.g. > openjpa.ConnectionDriverName=. > > Albert Lee. > > On Mon, May 17, 2010 at 10:20 AM, Web developer >wrote: > > > Here what I use: > > > > EntityManagerFactory emf = > > Persistence.cre

Re: Tests are ignored

2010-05-21 Thread Web developer
report gave me a page with zeros in all columns of a report table. John > > > On Mon, May 17, 2010 at 11:57 AM, Web developer >wrote: > > > Here is the end of trace output: > > > > /root/openjpa/openjpa-integration/validation/target/surefire-reports > > >

Re: persistence.xml properties defined

2010-05-21 Thread Web developer
be using the openjpa prefix like this... > > -Dopenjpa.ConnectionDriverName=org.hsqldb.jdbc.JDBCDriver > -Dopenjpa.ConnectionURL=jdbc:hsqldb:file:/tmp/persist_bacend > -Dopenjpa.DynamicEnhancementAgent=false > -Dopenjpa.RuntimeUnenhancedClasses=unsupported > > Kevin > >

Log4j

2010-05-21 Thread Web developer
I still can't understand how to get log4j work for, say, enhancer, which does not throw any exceptions. Please help me. John

persistence configuration in test suites

2010-05-21 Thread Web developer
A big problem is that no meter if any overrides take place in running tests - the resulting, flatten config, which would show the equivalent, is not reported. And tests reports does not really show if the test is ignored or overrides are ignored. John

Re: Tests are ignored

2010-05-22 Thread Web developer
I usually go to my ~ directory, make checkout from svn trunk: svn checkout http://svn.apache.org/repos/asf/openjpa/trunk openjpa After checkout is finished - I cd to 'openjpa' dub-dir. And make 'mvn test ...' from ~/openjpa, respectively under root (to have rights for 'ulimit -n 1'). John 201

Re: JPA and Scala

2010-05-22 Thread Web developer
Interesting, and what is a practical purpose of application(s) that you develop? John 2010/5/21 Christopher Schmidt > Hi all, > I am working on a JPA wrapper for Scala and I think that I have found > an elegant way to use some ideas of JPA. > I managed to wrap EntityManager, EntitiyManagerFactor

Re: JPA and Scala

2010-05-23 Thread Web developer
Who will use your application? What process it automates? John 2010/5/22 Christopher Schmidt > Just to be sure: what do you mean with practical purpose? > > Christopher > > Am 22.05.2010 13:49 schrieb "Web developer" : > > Interesting, and what is a practical pur

Re: Tests are ignored

2010-05-24 Thread Web developer
w one can be generated for you. File "Token.java" does not exist. Will create one. File "JavaCharStream.java" does not exist. Will create one. Parser generated with 0 errors and 3 warnings. John > > -Donald > > > On 5/22/10 7:45 AM, Web developer wrote: >

Re: Tests are ignored

2010-05-24 Thread Web developer
export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" > > > -Donald > > > On 5/24/10 12:54 PM, Web developer wrote: > > 2010/5/24 Donald Woods > > > >> I always use "mvn clean install" which will build and run all of the > >> tests b

Re: Tests are ignored

2010-05-25 Thread Web developer
192 or greater? If not, you'll >> need to up the file handle limits. >> >> Also, you need to set some heap sizes before running Maven - >>export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m" >> >> >> -Donald >> >> >> On 5/24/10

Re: Tests are ignored

2010-05-26 Thread Web developer
> Nothing unexpected. Normal maven stuff. > > -Donald > > > On 5/25/10 11:40 AM, Web developer wrote: > > While using a "surfire-report:report-only" the following info came up: > > > > Set

Fwd: Test run

2010-05-27 Thread Web developer
-- Пересланное сообщение -- От кого: Web developer Дата: 27 мая 2010 г. 15:27 Тема: Re: Test run Кому: Rick Curtis >Since there are multiple persistence units defined in the p.xml file that you specified, we incorrectly try to create the >OPENJPA_SEQUENCE_TABLE multiple

Mapping tool

2010-05-31 Thread Web developer
I still can't understand how to force a proper generation of sequence table. I can't understand why sequence table could not be found in my HSQLDB database. I added external builder to Eclipse (forces mapping tool to execute). Here goes: -classpath /home/webautomator/openjpa-all-2.0.0-beta3.jar:${

Re: [OFF-LINE] Re: Test run

2010-06-06 Thread Web developer
; Please describe what you are trying to do? > > 2010/5/27 Web developer > >> Here is how I changed the runner configuration: >> >> -Dopenjpa.jdbc.SynchronizeMappings=buildSchema >> -Dopenjpa.ConnectionDriverName=org.h2.Driver >> >>

Testing

2010-06-06 Thread Web developer
I tried to generate ant artifacts in project via "ant:ant" command. "eclipse:eclipse" would not help with dependencies. Currently "ant test" gives an acceptable testing run. I examined retrieved testing snapshots from inet. It looks like persistence.xml and other files are in META-INF sub-folder in

Log4j

2010-06-01 Thread Developer Web developer
I still can't understand how to correctly activate log4j logger. Can someone help me? John

Running test suites

2010-06-01 Thread Developer Web developer
It looks like test are running via ant. Or not? How to initiate testing without Maven? John

OpenJPA under Xen

2010-10-22 Thread Developer Web developer
Hi. I have figured out that there will be a training against HP related hardware/software in my town, start November 15th. There will also be a Xen related material. I am curious about: 1. Live migration of domU in PV mode with running instance(s) of OpenJPA based application 2. Multiple domUs on