[Hibernate-JIRA] Created: (HV-396) Build for hibernate-validator module fails using Maven 3 due to problem with shade plugin
by Hardy Ferentschik (JIRA)
Build for hibernate-validator module fails using Maven 3 due to problem with shade plugin
-----------------------------------------------------------------------------------------
Key: HV-396
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-396
Project: Hibernate Validator
Issue Type: Bug
Components: build
Affects Versions: 4.1.0.Final
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Fix For: 4.2.0.Beta1
{noformat}
[INFO] Replacing /Users/hardy/work/hibernate/git/validator/hibernate-validator/target/hibernate-validator-4.2.0-SNAPSHOT.jar with /Users/hardy/work/hibernate/git/validator/hibernate-validator/target/hibernate-validator-4.2.0-SNAPSHOT-shaded.jar
Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-jdocbook-plug...
[WARNING] The POM for org.jboss.maven.plugins:maven-jdocbook-plugin:jar:2.2.3 is missing, no dependency information available
Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-jdocbook-plug...
Downloading: http://repo1.maven.org/maven2/org/hibernate/hibernate-jdocbook-style/2.0....
Downloading: http://repo1.maven.org/maven2/org/jboss/jbossorg-docbook-xslt/1.1.0/jboss...
Downloading: http://repo1.maven.org/maven2/org/jboss/docs/highlight/1.0.0/highlight-1....
Downloading: http://repo1.maven.org/maven2/org/jboss/jbossorg-jdocbook-style/1.1.0/jbo...
Downloading: http://repo1.maven.org/maven2/org/richfaces/docs/highlight/3.1.4.GA/highl...
Downloading: http://repo1.maven.org/maven2/org/jboss/jbossorg-fonts/1.0.0/jbossorg-fon...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.139s
[INFO] Finished at: Wed Nov 17 12:04:13 CET 2010
[INFO] Final Memory: 12M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:1.4:shade (default) on project hibernate-validator: Error creating shaded jar: 1 problem was encountered while building the effective model for org.hibernate:hibernate-validator:4.2.0-SNAPSHOT
[ERROR] [ERROR] Unresolveable build extension: Plugin org.jboss.maven.plugins:maven-jdocbook-plugin:2.2.3 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.jboss.maven.plugins:maven-jdocbook-plugin:jar:2.2.3, org.hibernate:hibernate-jdocbook-style:jdocbook-style:2.0.1, org.jboss:jbossorg-jdocbook-style:jdocbook-style:1.1.0, org.jboss:jbossorg-docbook-xslt:jar:1.1.0, net.sf.docbook:docbook:jar:1.72.0, org.jboss.docs:highlight:jar:1.0.0, org.richfaces.docs:highlight:jar:3.1.4.GA, org.jboss:jbossorg-fonts:jdocbook-style:1.0.0: Could not find artifact org.jboss.maven.plugins:maven-jdocbook-plugin:jar:2.2.3 in central (http://repo1.maven.org/maven2) @
[ERROR] for project org.hibernate:hibernate-validator:4.2.0-SNAPSHOT at /Users/hardy/work/hibernate/git/validator/hibernate-validator/dependency-reduced-pom.xml for project org.hibernate:hibernate-validator:4.2.0-SNAPSHOT at /Users/hardy/work/hibernate/git/validator/hibernate-validator/dependency-reduced-pom.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{noformat}
See also the Hudson build environment.
The problem does not occur with Beta1 of Maven 3.
Looking at the error message it seems that when the shading plugin tries to resolve the dependency maven-jdocbook-plugin it uses the wrong remote repository.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[Hibernate-JIRA] Created: (HHH-5773) Session grows with long running transactions, even when flushing and clearing regularly
by Emond Papegaaij (JIRA)
Session grows with long running transactions, even when flushing and clearing regularly
---------------------------------------------------------------------------------------
Key: HHH-5773
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5773
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.6.0
Reporter: Emond Papegaaij
The session keeps track of all changes to entities in the 'actionQueue'. This ActionQueue contains a AfterTransactionCompletionProcessQueue, which grows rapidly with every change/insert/delete of entities. There seems to be no way to clear this queue, other than to commit or rollback. I can understand that Hibernate needs to keep track of changes in a transaction, but this list should not hold references to entities. Perhaps references can be replaced by lazy proxies?
In our case, we are trying to import many (millions) records into the database. This needs to be performed in a single transaction. These records reference entities in a complex (and large) data-structure. The entities in this structure are not modified, but as the ActionQueue contains all newly inserted records, which in turn reference the entities in this structure, the entire structure ends up in the session. Flushing and clearing has no effect.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[Hibernate-JIRA] Created: (HSEARCH-517) ThreadLocal in ContextHolder causes memory leak when deployed in a web container
by Vojtěch Krása (JIRA)
ThreadLocal in ContextHolder causes memory leak when deployed in a web container
--------------------------------------------------------------------------------
Key: HSEARCH-517
URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-517
Project: Hibernate Search
Issue Type: Bug
Components: engine
Affects Versions: 3.2.0.CR1, 3.2.0.Beta1, 3.1.1.GA, 3.1.0.GA, 3.1.0.CR1, 3.1.0.Beta2, 3.1.0.Beta1, 3.0.1.GA, 3.0.0.GA
Environment: Hibernate 3.4.0.GA/3.5.1-Final, Tomcat 6.0.26, Spring 2.5.6/3.0.1, Sun JDK 1.6; Hibernate 3.3.1.GA Tomcat 6.0.18 Spring 2.5.6 Java OpenJDK 1.6
Reporter: Vojtěch Krása
Priority: Critical
Attachments: dump.zip, testCase.zip
The SearchFactory has a static ThreadLocal variables which holds a reference to the SearchFactoryImpl. The ThreadLocal is not cleared when the application is undeployed, causing a memory leak.
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-314
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months