[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: [jboss-user] [jBPM] - Persistence issue running jBPM 5.3 gwt-console-server on JBoss AS 7.1.1
From: "Brian O'Keefe" <do-not-reply () jboss ! com>
Date: 2012-05-31 19:28:51
Message-ID: 2-739144-3-108394-1338492522897.jivesbs.jivemailuser () https://community ! jboss ! org
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Brian O'Keefe [https://community.jboss.org/people/brianok] created the discussion
"Persistence issue running jBPM 5.3 gwt-console-server on JBoss AS 7.1.1"
To view the discussion, visit: https://community.jboss.org/message/739144#739144
--------------------------------------------------------------
Hi all,
Hopefully this is an easy issue, but I am trying to deploy gwt-console-server in \
JBoss AS 7.1.1 and I am getting the following error in the log (below) due to JPA it \
seems. I'm guessing that the duplicate import info on the first two lines is \
causing the failure, but I do not know why that is occurring. Any guesses?
Thanks,
Brian
15:13:41,383 INFO [org.hibernate.cfg.Configuration] (MSC service thread 1-2) \
HHH000071: Duplicate import: org.jbpm.persistence.processinstance.ProcessInstanceInfo \
-> org.jbpm.persistence.processinstance.ProcessInstanceInfo 15:13:41,399 INFO \
[org.hibernate.cfg.Configuration] (MSC service thread 1-2) HHH000071: Duplicate \
import: org.jbpm.persistence.processinstance.ProcessInstanceInfo -> \
ProcessInstanceInfo 15:13:41,399 ERROR [org.jboss.msc.service.fail] (MSC service \
thread 1-2) MSC00001: Failed to start service \
jboss.persistenceunit."jbpm-gwt-console-server.war#org.jbpm.persistence.jpa": \
org.jboss.msc.service.StartException in service \
jboss.persistenceunit."jbpm-gwt-console-server.war#org.jbpm.persistence.jpa": Failed \
to start service
at \
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) \
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at \
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) \
[rt.jar:1.6.0_30]
at \
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) \
[rt.jar:1.6.0_30]
at java.lang.Thread.run(Unknown Source) \
[rt.jar:1.6.0_30] Caused by: javax.persistence.PersistenceException: \
[PersistenceUnit: org.jbpm.persistence.jpa] Unable to build \
EntityManagerFactory
at \
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
at \
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
at \
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)
at \
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)
at \
org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) \
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at \
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) \
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
... 3 more
Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document \
from input stream
at \
org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3380)
at \
org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXmlQueue(Configuration.java:3369)
at \
org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.java:3357)
at \
org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1334)
at \
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1724)
at \
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)
at \
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
... 9 more
Caused by: org.hibernate.DuplicateMappingException: Duplicate collection role mapping \
org.jbpm.persistence.processinstance.ProcessInstanceInfo.eventTypes
at \
org.hibernate.cfg.Configuration$MappingsImpl.addCollection(Configuration.java:2582)
at \
org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2139)
at \
org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2114)
at \
org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:405)
at \
org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:320)
at \
org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:171)
at \
org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.java:3377)
... 15 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/739144#739144]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; \
margin: 0; padding: 20px;">
<div>
<table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: \
1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;"> <tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" \
style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: \
6px; -webkit-border-radius: 6px;"> <tbody>
<tr>
<td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px \
solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; \
-moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; \
-webkit-border-top-left-radius: 5px;">
<h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; \
margin: 0; display: block !important;">
<!-- To have a header image/logo replace the name below with your img tag \
-->
<!-- Email clients will render the images when the message is read so any \
image -->
<!-- must be made available on a public server, so that all recipients can \
load the image. -->
<a href="https://community.jboss.org/index.jspa" style="text-decoration: \
none; color: #E1E1E1">JBoss Community</a></h1> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; \
color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; \
-moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; \
-webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: \
17px; font-weight: normal;"> Persistence issue running jBPM 5.3 gwt-console-server \
on JBoss AS 7.1.1 </h3>
<span style="margin-bottom: 10px;">
created by <a href="https://community.jboss.org/people/brianok">Brian O'Keefe</a> \
in <i>jBPM</i> - <a href="https://community.jboss.org/message/739144#739144">View the \
full discussion</a> </span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi all,</p><p style="min-height: 8pt; height: \
8pt; padding: 0px;"> </p><p>Hopefully this is an easy issue, but I am trying to \
deploy gwt-console-server in JBoss AS 7.1.1 and I am getting the following error in \
the log (below) due to JPA it seems.  I'm guessing that the duplicate import \
info on the first two lines is causing the failure, but I do not know why that is \
occurring.  Any guesses?</p><p style="min-height: 8pt; height: 8pt; padding: \
0px;"> </p><p>Thanks,</p><p style="min-height: 8pt; height: 8pt; padding: \
0px;"> </p><p>Brian</p><p style="min-height: 8pt; height: 8pt; padding: \
0px;"> </p><p>15:13:41,383 INFO  [org.hibernate.cfg.Configuration] (MSC \
service thread 1-2) HHH000071: Duplicate import: \
org.jbpm.persistence.processinstance.ProcessInstanceInfo -> \
org.jbpm.persistence.processinstance.ProcessInstanceInfo</p><p>15:13:41,399 \
INFO  [org.hibernate.cfg.Configuration] (MSC service thread 1-2) HHH000071: \
Duplicate import: org.jbpm.persistence.processinstance.ProcessInstanceInfo -> \
ProcessInstanceInfo</p><p>15:13:41,399 ERROR [org.jboss.msc.service.fail] (MSC \
service thread 1-2) MSC00001: Failed to start service \
jboss.persistenceunit."jbpm-gwt-console-server.war#org.jbpm.persistence.jpa": \
org.jboss.msc.service.StartException in service \
jboss.persistenceunit."jbpm-gwt-console-server.war#org.jbpm.persistence.jpa": Failed \
to start service</p><p>                \
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) \
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>                \
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) \
[rt.jar:1.6.0_30]</p><p>                \
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) \
[rt.jar:1.6.0_30]</p><p>                \
at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_30]</p><p>Caused by: \
javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] \
Unable to build EntityManagerFactory</p><p>                \
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.jav \
a:914)</p><p>                \
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.jav \
a:889)</p><p>                \
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(Hibernat \
ePersistence.java:73)</p><p>                \
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFac \
tory(PersistenceUnitServiceImpl.java:162)</p><p>                \
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImp \
l.java:85)</p><p>                \
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) \
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>                \
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) \
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>                \
... 3 more</p><p>Caused by: org.hibernate.InvalidMappingException: Could not parse \
mapping document from input \
stream</p><p>                \
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.jav \
a:3380)</p><p>                \
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXmlQueue(Configuratio \
n.java:3369)</p><p>                \
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processMetadata(Configuration.j \
ava:3357)</p><p>                \
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1334)</p><p>&# \
160;               \
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1724)</p><p> \
                \
at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.ja \
va:84)</p><p>                \
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.jav \
a:904)</p><p>                \
... 9 more</p><p>Caused by: org.hibernate.DuplicateMappingException: Duplicate \
collection role mapping \
org.jbpm.persistence.processinstance.ProcessInstanceInfo.eventTypes</p><p>                \
at org.hibernate.cfg.Configuration$MappingsImpl.addCollection(Configuration.java:2582) \
</p><p>                \
at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2139)</p><p>  \
               \
at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2114)</p><p>  \
               \
at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:405) \
</p><p>                \
at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:320)</p><p>                \
at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:171)</p><p>                \
at org.hibernate.cfg.Configuration$MetadataSourceQueue.processHbmXml(Configuration.jav \
a:3377)</p><p>                \
... 15 more</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a \
href="https://community.jboss.org/message/739144#739144">going to Community</a></p> \
<p style="margin: 0;">Start a new discussion in jBPM at <a \
href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic