-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ear deployment fails on Wildfly 8.0.0 Final (Cassandra related) #547
Comments
EJB.jar => Contains entity definitions or anything else? webapp.WAR => structure and content? Could you please share few more details around it? -Vivek |
EJB.jar depends on another jar file which contains the model entities. webapp.WAR is a minimalistic JAX-RS endpoint. No static files (empty webapp directory), no web.xml, only a JAX-RS application subclass and a resource class for implementing the endpoint itself. If the problem doesn't obvious from these, I'll quickly throw together a deployable example project to reproduce the problem, just let me know. (I cannot publish the actual project.) |
please email sample project if possible. That would surely help to quickly resolve this. Also, What the error you getting? |
Sample project sent.
|
Ah okay. I'll just wait for 2.11 then. Thanks for the help! |
@petermetz |
I just did, hope it helps. |
Hi Vivek, I retested it with 2.11 and it still produces issues. (I used the very same test project I emailed you before, just changed the dependency version to 2.11) The stack trace I get is pasted below. I'm not sure if it's just me not configuring something properly or some other issue with the same thing. Please let me know if I should reopen this or not.
|
Hi Peter,
Which is fixed on current trunk. Recent error is bit different. Could you please try by adding
in persistence.xml and see if it works. Thanks, |
By adding the mentioned property the problem goes away indeed. Huge thanks for the help, very much appreciated! Peter |
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
Just for the record, the persistence.xml declares class elements for the pu.
If more info is needed to reproduce just let me know.
The text was updated successfully, but these errors were encountered: