Skip to content

Ear deployment fails on Wildfly 8.0.0 Final (Cassandra related) #547

@petermetz

Description

@petermetz

This is a question rather than an issue.
The deployment fails, unless I change the code in PersistenceUnitMetadata like the diff mentions below.
Am I doing something wrong, or is this a defect in the metadata collection?
I was using the Cassandra quick start examples from the wiki to set up my configuration.

Here is my artifact structure:

.EAR
     EJB.jar (declaring Kundera as a dependency)
     webapp.WAR (calls the ejb

--- a/src/jpa-engine/core/src/main/java/com/impetus/kundera/metadata/model/PersistenceUnitMetadata.java
+++ b/src/jpa-engine/core/src/main/java/com/impetus/kundera/metadata/model/PersistenceUnitMetadata.java
@@ -485,7 +485,7 @@ public class PersistenceUnitMetadata implements PersistenceUnitInfo

         if (!getExcludeUnlistedClasses())
         {
-            managedURL.add(getPersistenceUnitRootUrl());
+            //managedURL.add(getPersistenceUnitRootUrl());
         }
         return managedURL;
     }

Just for the record, the persistence.xml declares class elements for the pu.

If more info is needed to reproduce just let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions