<!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 error after migration from tomcat
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/Jobame">Michael Cornegg</a> in <i>Beginner's Corner</i> - <a href="https://community.jboss.org/message/717402#717402">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>after getting AS7 and the quickstarts up and running I wonder where I can continue reading other than <a class="jive-link-external-small" href="https://docs.jboss.org/author/display/AS71/Documentation">https://docs.jboss.org/author/display/AS71/Documentation</a>. I am in search for documentation which e.g. explains why in the quickstart examples no web.xml was necessary or what are the specifics of using hibernate with AS7.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>After migrating my multimodule project from tomcat I cannot deploy it on AS7 due to the below error message. Looks like something is missing in persistence.xml - where can I find information on what exactly it is (name, content,...)?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: courier new,courier;">08:45:36,103 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.persistenceunit."jatpresent.war#jatPU": org.jboss.msc.service.StartException in service jboss.persistenceunit."jatpresent.war#jatPU": Failed to start service</span><br/><span style="font-family: courier new,courier;"> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</span><br/><span style="font-family: courier new,courier;"> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]</span><br/><span style="font-family: courier new,courier;"> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]</span><br/><span style="font-family: courier new,courier;"> at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]</span><br/><span style="font-family: courier new,courier;">Caused by: java.lang.UnsupportedOperationException: The application must supply JDBC connections</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.service.jdbc.connections.internal.UserSuppliedConnectionProviderImpl.getConnection(UserSuppliedConnectionProviderImpl.java:62)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:146)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.internal.SessionFactoryImpl.&lt;init&gt;(SessionFactoryImpl.java:460)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.ejb.EntityManagerFactoryImpl.&lt;init&gt;(EntityManagerFactoryImpl.java:84)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)</span><br/><span style="font-family: courier new,courier;"> at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)</span><br/><span style="font-family: courier new,courier;"> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)</span><br/><span style="font-family: courier new,courier;"> at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)</span><br/><span style="font-family: courier new,courier;"> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</span><br/><span style="font-family: courier new,courier;"> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</span><br/><span style="font-family: courier new,courier;"> ... 3 more</span></p><p><span style="font-family: courier new,courier;">08:45:36,400 INFO&#160; [org.jboss.as.server] (management-handler-threads - 7) JBAS015870: Deploy of deployment "jatpresent.war" was rolled back with failure message {"JBAS014671: Failed services" =&gt; {"jboss.persistenceunit.\"jatpresent.war#jatPU\"" =&gt; "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"jatpresent.war#jatPU\": Failed to start service"}}</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">Regards,</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-family: arial,helvetica,sans-serif;">Michael</span></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/717402#717402">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>