Hi -
I just downloaded the source through svn and failed at building openjpa. It
failed at a NoClassDefFoundError for SurefireBooter. What did I miss?
This is the output:
$ mvn package -Dtest=false
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] OpenJPA
[INFO] OpenJPA
Build failure of OpenJPA sources from trunk
---
Key: OPENJPA-186
URL: https://issues.apache.org/jira/browse/OPENJPA-186
Project: OpenJPA
Issue Type: Bug
Components: build / infrastructure
MEMBER OF query fails on OpenJPA, but works fine with TopLink and Hibernate EM
--
Key: OPENJPA-187
URL: https://issues.apache.org/jira/browse/OPENJPA-187
Project: OpenJPA
Positional parameters (in)order within query and query.setParameter (in)order
-
Key: OPENJPA-188
URL: https://issues.apache.org/jira/browse/OPENJPA-188
Project: OpenJPA
EXISTS conditional operator and subquery don't return values, but they do exist
---
Key: OPENJPA-189
URL: https://issues.apache.org/jira/browse/OPENJPA-189
Project: OpenJPA
That's a pretty weird error ... it looks more like Maven isn't
installed correctly. Are you able to build any other projects using
maven?
If you re-install maven and delete (or move aside) your ~/.m2/
directory, do you still get the error?
On Mar 28, 2007, at 12:24 AM, Xibin Zeng
[
https://issues.apache.org/jira/browse/OPENJPA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484775
]
Marc Prud'hommeaux commented on OPENJPA-189:
If you just execute the subquery by itself, does it return
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marc Prud'hommeaux resolved OPENJPA-186.
Resolution: Invalid
This is almost certainly a general maven setup problem. Try
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484823
]
Jacek Laskowski commented on OPENJPA-186:
-
What?! Please appologize my lack of understanding, but comments
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski updated OPENJPA-186:
Attachment: OPENJPA-186.buildfailure.txt
Build failure of OpenJPA sources from trunk
I am trying to use MappingTool with a JDO file named package.jdo to
generate the package-mysql.orm and create the tables in my
database, the orm file is created succesfully with one exception,
the table name is not what i expected with subsequent call to the
MappingTool.
The mapping
[
https://issues.apache.org/jira/browse/OPENJPA-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Linskey updated OPENJPA-184:
This message will be appended to the persistence exception
error message already created
thx again for your usefull responses.
And it seems that we are lossing focus, or trying to miss use the MappingTool,
but we are thinking about it now.
Bye
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484917
]
Marc Prud'hommeaux commented on OPENJPA-186:
I haven't had any problems with surefire 2.3, but I don't
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marc Prud'hommeaux resolved OPENJPA-186.
Resolution: Fixed
Fix Version/s: 0.9.7
Assignee: Marc
Hi -
I updated again and the build was successful this time. I saw the following
commit: *svn commit: r523398 - /incubator/openjpa/trunk/pom.xml and that
probably did the fix.* Thanks!
The following was the relavant output:
Downloading:
org.apache.openjpa.persistence.ArgumentException when using query SELECT
Teacher t, IN(t.courses) c WHERE c = ?
-
Key: OPENJPA-190
URL:
yes, i see the problem w/ the attached classes, and with a completely different
model where i am trying to accomplish the same thing.
should i file a bug? i can attach the test case there.
Patrick Linskey [EMAIL PROTECTED] wrote: Are you still seeing that same
problem with the code that you
[
https://issues.apache.org/jira/browse/OPENJPA-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Butov updated OPENJPA-190:
Environment: JDK 1.5.0_09, Spring 2.0.3, OpenJPA 0.9.6, JpaCriteria 0.6b
(was: JDK 1.5.0_09,
Yes, please do. It looks like your code should work.
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski reopened OPENJPA-186:
-
Alas, the build went further, but still fails. See the attached output of 'mvn
clean
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski updated OPENJPA-186:
Attachment: OPENJPA-186-builderror-2.txt
Build failure of OpenJPA sources from trunk
[
https://issues.apache.org/jira/browse/OPENJPA-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacek Laskowski updated OPENJPA-190:
Summary: org.apache.openjpa.persistence.ArgumentException when using query
SELECT t FROM
Hi together,
I succeeded in integrating OpenJPA into our J2EE1.4 container, running
side-by-side within the same JTA transactions as
container managed EJB2.1 CMP entity beans.
The lookup/creation of the EntityManager instances is synchronizing with
the JTA TXs as you suggested some weeks ago
on
Can you post your OpenJPA properties?
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together with any attachments, may contain
information of BEA Systems, Inc., its subsidiaries and
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484972
]
Jacek Laskowski commented on OPENJPA-186:
-
It's something pertaining to the way Ant is executed from within
What happens if you set 'openjpa.TransactionMode' to 'managed' as well?
Also, are you closing your EMs at the end of the transaction?
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together
Am Mittwoch, den 28.03.2007, 12:43 -0700 schrieb Patrick Linskey:
What happens if you set 'openjpa.TransactionMode' to 'managed' as
well?
I will give it a try. Can you explicitly confirm that it shouldn't be a
multithreading problem where there are serveral entitymanagers
created in different
cannot define composite ID that incorproates @ManyToOne field
-
Key: OPENJPA-191
URL: https://issues.apache.org/jira/browse/OPENJPA-191
Project: OpenJPA
Issue Type: Bug
Affects
[
https://issues.apache.org/jira/browse/OPENJPA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey Blatttman updated OPENJPA-191:
--
Attachment: book.zip
cannot define composite ID that incorproates @ManyToOne field
[
https://issues.apache.org/jira/browse/OPENJPA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484980
]
Jeffrey Blatttman commented on OPENJPA-191:
---
note, per patrick linkskey, vanilla JPA does not require
I have seen something similar posted to this group back in December but when I
followed the same solution (setting fetch depth) - it little effect. Also read
the docs - no help. When I used toplink on a similar config it worked fine. Any
thoughts?
Here is my spring context:
?xml version=1.0
[
https://issues.apache.org/jira/browse/OPENJPA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Abe White closed OPENJPA-191.
-
Resolution: Invalid
The given test case is invalid. Per the docs, the book field in the PageId
class
I will give it a try. Can you explicitly confirm that it
shouldn't be a multithreading problem where there are
serveral entitymanagers
created in different JTA transactions running in parallel? e.g.
Assuming that the different JTA transactions are on different threads,
and that you do not
Some of the attendees in a traininng course also experienced the same
error involving SurefireBooter.
The solution was to run mvn package -Dtest=false target few (3, in
this case) times.
Pinaki Poddar
BEA Systems
415.402.7317
-Original Message-
From: Marc Prud'hommeaux [mailto:[EMAIL
What did that solution accomplish? It sounds like the .m2 repository was
out-of-date or something.
-Patrick
--
Patrick Linskey
BEA Systems, Inc.
___
Notice: This email message, together with any attachments, may contain
After the third execution of mvn package -Dtest=false
the target succeeded in creating the openjpa jars and zips.
The attendee mentioned that he had run svn update before building.
Pinaki Poddar
BEA Systems
415.402.7317
-Original Message-
From: Patrick Linskey [mailto:[EMAIL
hi,
abe closed this with the reasoning ...
the book field in the PageId class must be of type String to match the primary
key field type of Book
was i mistaken when i understood you to say that Page could have a PK field of
type Book? if not, very sorry for all the confusion.
or were you
the book field in the PageId class must be of type String to match
the primary key field type of Book
was i mistaken when i understood you to say that Page could have a
PK field of type Book?
No, you weren't mistaken. But as I said, the book field in the
Page*Id* class must match the
Page can have a primary key field type of Book.
@IdClass(com.mycompany.book.PageId.class)
@Entity
public class Page {
@Id
int number;
@Id
@ManyToOne
private Book book;
}
public class PageId {
int number;
String book; // the type String must match the type of primary key
used in
I ran with -Dtest=false a few times last night, and it didn't look it was
going to fix the problem. Just my observation.
Thanks
- Xibin
On 3/28/07, Pinaki Poddar [EMAIL PROTECTED] wrote:
After the third execution of mvn package -Dtest=false
the target succeeded in creating the openjpa jars
[
https://issues.apache.org/jira/browse/OPENJPA-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ritika Maheshwari updated OPENJPA-182:
--
Attachment: openJPA182.patch
here is a patch for this feature
db2 update lock
[
https://issues.apache.org/jira/browse/OPENJPA-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485012
]
Jacek Laskowski commented on OPENJPA-186:
-
mvn package -Dtest=false did the trick. mvn clean package works
One thing that I would like to see happen prior to 0.9.7 is a change to
the build artifacts so that we don't have '-project' or '-all' tacked
onto the releases everywhere.
Also, we might want to think about other bundlings, such as creating a
single jar with all dependencies, or a download that
I removed the content in the top navigation bar, and added the download
link to the 'Community' sidebar section. However, the pages didn't
automatically rebuild; I had to make a trivial change to the index page
to make the changes visible.
Does anyone know how to tell Confluence to purge its
By the way, I've seen failure to download dependencies causing build
failures that are resolved by running mvn multiple times. Each time
more of the dependencies get loaded but failures occur on subsequent
download attempts.
Maybe there should be a flag (default to true) that retries
WASManagedRuntime's tm is used despite exception initializing
WASManagedRuntime.
-
Key: OPENJPA-192
URL: https://issues.apache.org/jira/browse/OPENJPA-192
Project:
[
https://issues.apache.org/jira/browse/OPENJPA-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dick updated OPENJPA-192:
-
Attachment: OpenJPA-192.patch.txt
Attaching a rudimentary patch. The patch tries to find an
Am Mittwoch, den 28.03.2007, 13:30 -0700 schrieb Patrick Linskey:
Are you ever sharing EMs across multiple sequential JTA transactions?
As far as I can say: definitely NO. But the EMF used to create the EM's
is held as a static member of a Helper Class.
I.e. 2 different threads accessing the
If you want to access a single EM from multiple
threads, you should set the openjpa.Multithreaded property
accordingly
As I mentioned, there is a static EMF in a helper class used to obtain
the EM's called from different
threads. does above property also resolve multithreaded access to the
EMF?
Are we paid to debug maven or to create value?
You get paid for this? :)
On Mar 28, 2007, at 9:12 PM, Craig L Russell wrote:
By the way, I've seen failure to download dependencies causing
build failures that are resolved by running mvn multiple times.
Each time more of the
I've noticed that as well ... making a change to an included page
doesn't seem to trigger a re-export of all the static html pages that
include the changed page.
If you are a Confluence administrator (a privilege that was kindly
bestowed on me by David Blevins), you can manually
52 matches
Mail list logo