[jboss-user] [Beginner's Corner] - TicketMonster - importing GitHub- trying to deploy

zacce do-not-reply at jboss.com
Sat Feb 23 07:57:48 EST 2013


zacce [https://community.jboss.org/people/zacce] created the discussion

"TicketMonster - importing GitHub- trying to deploy"

To view the discussion, visit: https://community.jboss.org/message/799200#799200

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

Seems to me that imported TicketMonster cannot create H2  tables  in deployment. Does anybody has any hint how to proceed ?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/799200#799200]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130223/f84e0e4a/attachment-0001.html 


More information about the jboss-user mailing list