<!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;">
    TicketMonster - importing GitHub- trying to deploy
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/zacce">zacce</a> in <i>Beginner's Corner</i> - <a href="https://community.jboss.org/message/799200#799200">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Trying to Full publish my imported TicketMonster but I get an error:</p><p>14:46:02,815 INFO&#160; [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-3) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider</p><p>14:46:02,822 INFO&#160; [org.hibernate.dialect.Dialect] (MSC service thread 1-3) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect</p><p>14:46:02,823 WARN&#160; [org.hibernate.dialect.H2Dialect] (MSC service thread 1-3) HHH000431: Unable to determine H2 database version, certain features may not work</p><p>14:46:02,823 INFO&#160; [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] (MSC service thread 1-3) HHH000423: Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4</p><p>14:46:02,824 INFO&#160; [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-3) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory</p><p>14:46:02,825 INFO&#160; [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-3) HHH000397: Using ASTQueryTranslatorFactory</p><p>14:46:02,930 INFO&#160; [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000227: Running hbm2ddl schema export</p><p>14:46:02,932 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Booking drop constraint FK6713A039F0809A8E</p><p>14:46:02,932 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "BOOKING" not found; SQL statement:</p><p>alter table Booking drop constraint FK6713A039F0809A8E [42102-161]</p><p>14:46:02,933 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Event drop constraint FK403827A28772A4E</p><p>14:46:02,933 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "EVENT" not found; SQL statement:</p><p>alter table Event drop constraint FK403827A28772A4E [42102-161]</p><p>14:46:02,934 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Event drop constraint FK403827A9D6DF788</p><p>14:46:02,935 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "EVENT" not found; SQL statement:</p><p>alter table Event drop constraint FK403827A9D6DF788 [42102-161]</p><p>14:46:02,935 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Performance drop constraint FKB2CB810D13A2446</p><p>14:46:02,936 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "PERFORMANCE" not found; SQL statement:</p><p>alter table Performance drop constraint FKB2CB810D13A2446 [42102-161]</p><p>14:46:02,937 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Section drop constraint FKD8A816C5ED55AD2E</p><p>14:46:02,937 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "SECTION" not found; SQL statement:</p><p>alter table Section drop constraint FKD8A816C5ED55AD2E [42102-161]</p><p>14:46:02,938 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table SectionAllocation drop constraint FK66D65185F0809A8E</p><p>14:46:02,938 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "SECTIONALLOCATION" not found; SQL statement:</p><p>alter table SectionAllocation drop constraint FK66D65185F0809A8E [42102-161]</p><p>14:46:02,939 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table SectionAllocation drop constraint FK66D65185CE98AC6E</p><p>14:46:02,939 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "SECTIONALLOCATION" not found; SQL statement:</p><p>alter table SectionAllocation drop constraint FK66D65185CE98AC6E [42102-161]</p><p>14:46:02,940 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Show drop constraint FK274F1DED55AD2E</p><p>14:46:02,940 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "SHOW" not found; SQL statement:</p><p>alter table Show drop constraint FK274F1DED55AD2E [42102-161]</p><p>14:46:02,941 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Show drop constraint FK274F1D7A0C394E</p><p>14:46:02,941 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "SHOW" not found; SQL statement:</p><p>alter table Show drop constraint FK274F1D7A0C394E [42102-161]</p><p>14:46:02,942 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Ticket drop constraint FK954D572C84282A46</p><p>14:46:02,942 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "TICKET" not found; SQL statement:</p><p>alter table Ticket drop constraint FK954D572C84282A46 [42102-161]</p><p>14:46:02,943 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Ticket drop constraint FK954D572CBFBCA6A0</p><p>14:46:02,944 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "TICKET" not found; SQL statement:</p><p>alter table Ticket drop constraint FK954D572CBFBCA6A0 [42102-161]</p><p>14:46:02,944 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Ticket drop constraint FK954D572CCE98AC6E</p><p>14:46:02,945 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "TICKET" not found; SQL statement:</p><p>alter table Ticket drop constraint FK954D572CCE98AC6E [42102-161]</p><p>14:46:02,945 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table TicketPrice drop constraint FK7823057D84282A46</p><p>14:46:02,946 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "TICKETPRICE" not found; SQL statement:</p><p>alter table TicketPrice drop constraint FK7823057D84282A46 [42102-161]</p><p>14:46:02,946 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table TicketPrice drop constraint FK7823057DD13A2446</p><p>14:46:02,947 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "TICKETPRICE" not found; SQL statement:</p><p>alter table TicketPrice drop constraint FK7823057DD13A2446 [42102-161]</p><p>14:46:02,948 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table TicketPrice drop constraint FK7823057DCE98AC6E</p><p>14:46:02,948 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "TICKETPRICE" not found; SQL statement:</p><p>alter table TicketPrice drop constraint FK7823057DCE98AC6E [42102-161]</p><p>14:46:02,949 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000389: Unsuccessful: alter table Venue drop constraint FK4EB7A4F28772A4E</p><p>14:46:02,949 ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) Table "VENUE" not found; SQL statement:</p><p>alter table Venue drop constraint FK4EB7A4F28772A4E [42102-161]</p><p>14:46:02,994 INFO&#160; [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-3) HHH000230: Schema export complete</p><p>14:46:03,001 INFO&#160; [org.jboss.weld.deployer] (MSC service thread 1-3) JBAS016008: Starting weld service for deployment ticket-monster.war</p><p>14:46:03,011 INFO&#160; [org.jboss.errai.cdi.server.CDIExtensionPoints] (MSC service thread 1-3) starting errai cdi ...</p><p>14:46:03,582 INFO&#160; [org.jboss.errai.reflections.Reflections] (Thread-84) Reflections took 296 ms to scan 7 urls, producing 380 keys and 1377 values [using 2 cores]</p><p>14:46:03,641 INFO&#160; [org.jboss.errai.cdi.server.CDIExtensionPoints] (pool-28-thread-1) all services registered successfully</p><p>14:46:03,707 INFO&#160; [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-6) Initializing Mojarra 2.1.7-jbossorg-1 (20120227-1401) for context '/ticket-monster'</p><p>14:46:03,812 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-6) Critical error during deployment: : com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! WELD-001001 Cannot pass null expressionFactory</p><p>&#160;&#160;&#160; at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:376) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160; at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160; at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>&#160;&#160;&#160; at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]</p><p>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_37]</p><p>&#160;&#160;&#160; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_37]</p><p>&#160;&#160;&#160; at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_37]</p><p>Caused by: org.jboss.weld.exceptions.IllegalArgumentException: WELD-001001 Cannot pass null expressionFactory</p><p>&#160;&#160;&#160; at org.jboss.weld.el.WeldExpressionFactory.&lt;init&gt;(WeldExpressionFactory.java:38) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]</p><p>&#160;&#160;&#160; at org.jboss.weld.manager.BeanManagerImpl.wrapExpressionFactory(BeanManagerImpl.java:995) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]</p><p>&#160;&#160;&#160; at org.jboss.as.weld.webtier.jsf.WeldApplication.getExpressionFactory(WeldApplication.java:91) [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]</p><p>&#160;&#160;&#160; at org.jboss.weld.environment.servlet.jsf.WeldApplication.init(WeldApplication.java:77) [weld-servlet-core-1.1.6.Final.jar:20120321-1852]</p><p>&#160;&#160;&#160; at org.jboss.weld.environment.servlet.jsf.WeldApplication.delegate(WeldApplication.java:85) [weld-servlet-core-1.1.6.Final.jar:20120321-1852]</p><p>&#160;&#160;&#160; at org.jboss.weld.environment.servlet.jsf.ForwardingApplication.getActionListener(ForwardingApplication.java:168) [weld-servlet-core-1.1.6.Final.jar:20120321-1852]</p><p>&#160;&#160;&#160; at com.sun.faces.config.processor.ApplicationConfigProcessor.addActionListener(ApplicationConfigProcessor.java:459) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:290) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361) [jsf-impl-2.1.7-jbossorg-2.jar:]</p><p>&#160;&#160;&#160; ... 9 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Seems to me that imported TicketMonster cannot create H2&#160; tables&#160; in deployment. Does anybody has any hint how to proceed ?</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/799200#799200">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>