5 Replies Latest reply on Feb 4, 2011 6:31 AM by Nicklas Karlsson

    Can't deploy .war to JBOSS 5.1 GA

    Sam W Expert

      Hello,

       

      I built a .war file (a ejb3+jaxws) and tried to deploy it to jboss 5.1 GA, but it failed with the following error:

       

      01:25:55,157 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009

      01:25:55,172 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 2m:15s:327ms

      01:28:06,085 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd

      01:28:10,309 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd

      01:28:10,644 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/web-common_3_0.xsd

      01:28:11,799 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/javaee_6.xsd

      01:28:13,317 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/javaee_web_services_client_1_3.xsd

      01:28:13,949 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/jsp_2_2.xsd

      01:28:14,293 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/javaee_6.xsd

      01:28:14,703 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd

      01:28:15,777 WARN  [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://java.sun.com/xml/ns/javaee

      01:28:48,126 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/houseware.war/ state=Not Installed mode=Manual requiredState=Parse

      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/houseware.war/

              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362)

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322)

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294)

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234)

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)

              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)

              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

              at java.lang.Thread.run(Thread.java:619)

      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=http://java.sun.com/xml/ns/javaee, baseURI=null, schemaLocation=http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

              at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)

              at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189)

              at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166)

              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137)

              at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121)

              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)

              at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:188)

              at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:348)

              ... 28 more

      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=http://java.sun.com/xml/ns/javaee, baseURI=null, schemaLocation=http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd

              at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:293)

              at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:274)

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401)

              at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

              at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)

              at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source)

              at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

              at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)

              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

              at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

              at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)

              ... 36 more

      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 31:3 The declaration for the entity "HTML.Version" must end with '>'.

              at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40)

              at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source)

              at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source)

              at org.jboss.xb.binding.Util.loadSchema(Util.java:395)

              at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:176)

              at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:147)

              at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:285)

              ... 51 more

      01:28:48,131 WARN  [HDScanner] Failed to process changes

      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

       

      *** DEPLOYMENTS IN ERROR: Name -> Error

       

       

      vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/houseware.war/ -> org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/houseware.war/

       

       

       

       

      DEPLOYMENTS IN ERROR:

        Deployment "vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/houseware.war/" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 31:3 The declaration for the entity "HTML.Version" must end with '>'.

       

       

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)

              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)

              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)

              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

              at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

              at java.lang.Thread.run(Thread.java:619)

       

      Is there anything wrong in my Jboss configuration and how to deploy a war file to jboss 5.1

       

      Thanks

      Sam

        • 1. Can't deploy .war to JBOSS 5.1 GA
          jaikiran pai Master

          web-app 3.0 version  isn't supported in  JBoss AS5. You'll have to use JBoss AS 6.0.0.Final for that.

          • 2. Can't deploy .war to JBOSS 5.1 GA
            Sam W Expert

            Hi Jaikrian,

             

            Very appreciate for the suggestion, I will try it out soon.

            Another question with .war file or .ear file. My application is web services + ejb3 project, that is the ejb3 beans have @Stateless and @WebServices annotation. And I didn't create a URI for that. Netbeans 6.9.1 builds it as a .war file. Is this correct?

             

            Thanks

            Sam

            • 3. Can't deploy .war to JBOSS 5.1 GA
              Sam W Expert

              Hi Jaikiran,

               

              JBOSS6.0.0.final does solved the previous problem, now here come to another error,

              There 're probably something missing in the project, but I can't figure out what it might be.

               

              Here is a full log with exceptions:

               

              [code]

              12:32:02,028 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 1m:870ms

              12:32:31,060 INFO  [org.jboss.jpa.mcint.beans.metadata.plugins.PersistenceUnitValueMetaData] iDependOn persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb

              12:32:31,090 INFO  [org.jboss.jpa.deployment.PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb

              12:32:31,774 INFO  [org.hibernate.annotations.common.Version] Hibernate Commons Annotations 3.2.0.Final

              12:32:31,841 INFO  [org.hibernate.cfg.Environment] Hibernate 3.6.0.Final

              12:32:31,853 INFO  [org.hibernate.cfg.Environment] hibernate.properties not found

              12:32:31,880 INFO  [org.hibernate.cfg.Environment] Bytecode provider name : javassist

              12:32:31,982 INFO  [org.hibernate.cfg.Environment] using JDK 1.4 java.sql.Timestamp handling

              12:32:32,380 INFO  [org.hibernate.ejb.Version] Hibernate EntityManager 3.6.0.Final

              12:32:32,472 INFO  [org.hibernate.ejb.Ejb3Configuration] Processing PersistenceUnitInfo [

                      name: timerdb

                      ...]

              12:32:32,547 WARN  [org.hibernate.ejb.Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly.PersistenceUnitInfo.getNewTempClassLoader() is null.

              12:32:32,700 INFO  [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity

              12:32:32,829 INFO  [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity on table timer

              12:32:33,004 INFO  [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod

              12:32:33,016 INFO  [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod on table timeout_method

              12:32:33,097 INFO  [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity

              12:32:33,099 INFO  [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity on table calendar_timer

              12:32:33,216 INFO  [org.hibernate.validator.Version] Hibernate Validator 3.1.0.GA

              12:32:33,339 INFO  [org.hibernate.validator.util.Version] Hibernate Validator 4.1.0.Final

              12:32:33,381 INFO  [org.hibernate.validator.engine.resolver.DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

              12:32:33,686 INFO  [org.hibernate.validator.engine.resolver.DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

              12:32:33,698 INFO  [org.hibernate.validator.engine.resolver.DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

              12:32:33,718 INFO  [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.

              12:32:33,747 INFO  [org.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

              12:32:33,758 INFO  [org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] Using provided datasource

              12:32:33,771 INFO  [org.hibernate.cfg.SettingsFactory] Database ->

                     name : HSQL Database Engine

                  version : 1.8.0

                    major : 1

                    minor : 8

              12:32:33,772 INFO  [org.hibernate.cfg.SettingsFactory] Driver ->

                     name : HSQL Database Engine Driver

                  version : 1.8.0

                    major : 1

                    minor : 8

              12:32:33,860 INFO  [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.HSQLDialect

              12:32:33,906 INFO  [org.hibernate.engine.jdbc.JdbcSupportLoader] Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4

              12:32:33,909 INFO  [org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory

              12:32:33,922 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup

              12:32:33,929 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup

              12:32:33,929 INFO  [org.hibernate.cfg.SettingsFactory] Automatic flush during beforeCompletion(): disabled

              12:32:33,929 INFO  [org.hibernate.cfg.SettingsFactory] Automatic session close at end of transaction: disabled

              12:32:33,930 INFO  [org.hibernate.cfg.SettingsFactory] JDBC batch size: 15

              12:32:33,930 INFO  [org.hibernate.cfg.SettingsFactory] JDBC batch updates for versioned data: disabled

              12:32:33,934 INFO  [org.hibernate.cfg.SettingsFactory] Scrollable result sets: enabled

              12:32:33,934 INFO  [org.hibernate.cfg.SettingsFactory] JDBC3 getGeneratedKeys(): disabled

              12:32:33,935 INFO  [org.hibernate.cfg.SettingsFactory] Connection release mode: auto

              12:32:33,939 INFO  [org.hibernate.cfg.SettingsFactory] Default batch fetch size: 1

              12:32:33,939 INFO  [org.hibernate.cfg.SettingsFactory] Generate SQL with comments: disabled

              12:32:33,939 INFO  [org.hibernate.cfg.SettingsFactory] Order SQL updates by primary key: disabled

              12:32:33,940 INFO  [org.hibernate.cfg.SettingsFactory] Order SQL inserts for batching: disabled

              12:32:33,940 INFO  [org.hibernate.cfg.SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory

              12:32:33,973 INFO  [org.hibernate.hql.ast.ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory

              12:32:33,973 INFO  [org.hibernate.cfg.SettingsFactory] Query language substitutions: {}

              12:32:33,973 INFO  [org.hibernate.cfg.SettingsFactory] JPA-QL strict compliance: enabled

              12:32:33,974 INFO  [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled

              12:32:33,974 INFO  [org.hibernate.cfg.SettingsFactory] Query cache: disabled

              12:32:33,977 INFO  [org.hibernate.cfg.SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge

              12:32:34,001 INFO  [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider

              12:32:34,006 INFO  [org.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: disabled

              12:32:34,007 INFO  [org.hibernate.cfg.SettingsFactory] Cache region prefix: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb

              12:32:34,007 INFO  [org.hibernate.cfg.SettingsFactory] Structured second-level cache entries: disabled

              12:32:34,032 INFO  [org.hibernate.cfg.SettingsFactory] Statistics: disabled

              12:32:34,033 INFO  [org.hibernate.cfg.SettingsFactory] Deleted entity synthetic identifier rollback: disabled

              12:32:34,033 INFO  [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo

              12:32:34,033 INFO  [org.hibernate.cfg.SettingsFactory] Named query checking : enabled

              12:32:34,034 INFO  [org.hibernate.cfg.SettingsFactory] Check Nullability in Core (should be disabled when Bean Validation is on): disabled

              12:32:34,105 INFO  [org.hibernate.impl.SessionFactoryImpl] building session factory

              12:32:34,694 INFO  [org.hibernate.impl.SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb

              12:32:34,698 INFO  [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

              12:32:34,721 INFO  [org.hibernate.impl.SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb

              12:32:34,733 WARN  [org.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext

              12:32:34,760 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] Running hbm2ddl schema update

              12:32:34,761 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] fetching database metadata

              12:32:34,763 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] updating schema

              12:32:34,768 INFO  [org.hibernate.validator.engine.resolver.DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.

              12:32:35,263 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: TimeoutMethod_methodParams

              12:32:35,266 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: calendar_timer

              12:32:35,270 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: timeout_method

              12:32:35,274 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: timer

              12:32:35,278 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: TimeoutMethod_methodParams

              12:32:35,282 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: calendar_timer

              12:32:35,287 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: timeout_method

              12:32:35,291 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] table not found: timer

              12:32:35,306 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] schema update complete

              12:32:35,322 INFO  [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

              12:32:35,948 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6368870{vfs:///C:/jboss-6.0.0.Final/server/default/deploy/houseware.war}

              12:32:35,948 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6368870{vfs:///C:/jboss-6.0.0.Final/server/default/deploy/houseware.war}

              12:32:36,057 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 into MC at org.jboss.ejb.bean.instantiator/houseware/houseware/RoleJpaController

              12:32:36,059 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 into MC at org.jboss.ejb.bean.instantiator/houseware/houseware/userws

              12:32:36,060 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 into MC at org.jboss.ejb.bean.instantiator/houseware/houseware/rolews

              12:32:36,061 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Installed org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 into MC at org.jboss.ejb.bean.instantiator/houseware/houseware/UserJpaController

              12:32:36,076 WARN  [org.jboss.ejb3.interceptor.InterceptorInfoRepository] EJBTHREE-1852: InterceptorInfoRepository is deprecated

              12:32:39,351 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] register: jboss.ws:context=houseware,endpoint=userws

              12:32:39,360 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] register: jboss.ws:context=houseware,endpoint=rolews

              12:32:39,392 WARN  [org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect] Spring not available, skipping check for user provided jbossws-cxf.xml / cxf.xml configuration files.

              12:32:39,417 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] Add Service

              id=userws

              address=http://localhost:8080/houseware/userws

              implementor=au.com.houseware.ws.userws

              invoker=org.jboss.wsf.stack.cxf.InvokerEJB3

              serviceName={http://ws.houseware.com.au/}userwsService

              portName={http://ws.houseware.com.au/}userwsPort

              wsdlLocation=null

              mtomEnabled=false

              12:32:39,417 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] Add Service

              id=rolews

              address=http://localhost:8080/houseware/rolews

              implementor=au.com.houseware.ws.rolews

              invoker=org.jboss.wsf.stack.cxf.InvokerEJB3

              serviceName={http://ws.houseware.com.au/}rolewsService

              portName={http://ws.houseware.com.au/}rolewsPort

              wsdlLocation=null

              mtomEnabled=false

              12:32:39,936 INFO  [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] Creating Service {http://ws.houseware.com.au/}userwsService from class au.com.houseware.ws.userws

              12:32:40,641 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] remove: jboss.ws:context=houseware,endpoint=userws

              12:32:40,641 INFO  [org.jboss.wsf.framework.management.DefaultEndpointRegistry] remove: jboss.ws:context=houseware,endpoint=rolews

              12:32:40,645 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 from MC at org.jboss.ejb.bean.instantiator/houseware/houseware/RoleJpaController

              12:32:40,646 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 from MC at org.jboss.ejb.bean.instantiator/houseware/houseware/userws

              12:32:40,647 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 from MC at org.jboss.ejb.bean.instantiator/houseware/houseware/rolews

              12:32:40,649 INFO  [org.jboss.ejb3.instantiator.deployer.BeanInstantiatorDeployerBase] Uninstalled org.jboss.ejb3.instantiator.impl.Ejb31SpecBeanInstantiator@e8d037 from MC at org.jboss.ejb.bean.instantiator/houseware/houseware/UserJpaController

              12:32:40,651 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Real: name=vfs:///C:/jboss-6.0.0.Final/server/default/deploy/houseware.war state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/jboss-6.0.0.Final/server/default/deploy/houseware.war

                      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]

                      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]

                      at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:240) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]

                      at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]

                      at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]

                      at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]

                      at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]

                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_11]

                      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_11]

                      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_11]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_11]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_11]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_11]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_11]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_11]

                      at java.lang.Thread.run(Thread.java:619) [:1.6.0_11]

              Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException

                      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:335) [:2.3.1]

                      at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:62) [:3.4.1.GA]

                      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:238) [:2.3.1]

                      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:481) [:2.3.1]

                      at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:112) [:3.4.1.GA]

                      at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:110) [:3.4.1.GA]

                      at org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.internalDeploy(WSDeploymentAspectDeployer.java:123) [:6.0.0.Final]

                      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]

                      ... 37 more

              Caused by: org.apache.cxf.service.factory.ServiceConstructionException

                      at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:341) [:2.3.1]

                      at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86) [:2.3.1]

                      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:442) [:2.3.1]

                      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:680) [:2.3.1]

                      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:505) [:2.3.1]

                      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:242) [:2.3.1]

                      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:202) [:2.3.1]

                      at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101) [:2.3.1]

                      at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:148) [:2.3.1]

                      at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:183) [:2.3.1]

                      at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:407) [:2.3.1]

                      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:314) [:2.3.1]

                      ... 45 more

              Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions

              javax.persistence.EntityManager is an interface, and JAXB can't handle interfaces.

                      this problem is related to the following location:

                              at javax.persistence.EntityManager

                              at private javax.persistence.EntityManager au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse._return

                              at au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse

              javax.persistence.EntityManager does not have a no-arg default constructor.

                      this problem is related to the following location:

                              at javax.persistence.EntityManager

                              at private javax.persistence.EntityManager au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse._return

                              at au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse

               

               

                      at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:102) [:2.2]

                      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:472) [:2.2]

                      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302) [:2.2]

                      at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140) [:2.2]

                      at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154) [:2.2]

                      at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121) [:2.2]

                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_11]

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_11]

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_11]

                      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_11]

                      at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:201) [:1.0.0.Final]

                      at javax.xml.bind.ContextFinder.find(ContextFinder.java:362) [:1.0.0.Final]

                      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:618) [:1.0.0.Final]

                      at org.apache.cxf.jaxb.JAXBDataBinding.createContext(JAXBDataBinding.java:564) [:2.3.1]

                      at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:504) [:2.3.1]

                      at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:324) [:2.3.1]

                      ... 56 more

               

               

              12:32:40,757 WARN  [org.jboss.profileservice.deployment.hotdeploy.HDScanner] Scan failed: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

               

               

              *** DEPLOYMENTS IN ERROR: Name -> Error

               

               

              vfs:///C:/jboss-6.0.0.Final/server/default/deploy/houseware.war -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///C:/jboss-6.0.0.Final/server/default/deploy/houseware.war

               

               

              DEPLOYMENTS IN ERROR:

                Deployment "vfs:///C:/jboss-6.0.0.Final/server/default/deploy/houseware.war" is in error due to the following reason(s): com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions

              javax.persistence.EntityManager is an interface, and JAXB can't handle interfaces.

                      this problem is related to the following location:

                              at javax.persistence.EntityManager

                              at private javax.persistence.EntityManager au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse._return

                              at au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse

              javax.persistence.EntityManager does not have a no-arg default constructor.

                      this problem is related to the following location:

                              at javax.persistence.EntityManager

                              at private javax.persistence.EntityManager au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse._return

                              at au.com.houseware.ws.jaxws_asm.GetEntityManagerResponse

               

               

               

               

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316) [:2.2.0.GA]

                      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968) [:2.2.0.GA]

                      at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:82) [:6.0.0.Final]

                      at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.checkComplete(ProfileControllerContext.java:138) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.deploy(HDScanner.java:246) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner$HDScanAction.complete(HDScanner.java:192) [:0.2.2]

                      at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]

                      at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]

                      at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]

                      at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.performWrite(AbstractActionController.java:213) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:150) [:0.2.2]

                      at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner.scan(HDScanner.java:146) [:0.2.2]

                      at org.jboss.profileservice.deployment.hotdeploy.HDScanner.run(HDScanner.java:90) [:0.2.2]

                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [:1.6.0_11]

                      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) [:1.6.0_11]

                      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) [:1.6.0_11]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) [:1.6.0_11]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) [:1.6.0_11]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) [:1.6.0_11]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_11]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_11]

                      at java.lang.Thread.run(Thread.java:619) [:1.6.0_11]

               

               

              [/code]

               

               

              Thanks

              Sam

              • 4. Can't deploy .war to JBOSS 5.1 GA
                Araz Ghazaryan Newbie

                I have the similar problem and LOOKING FOR HELP AS WELL

                • 5. Can't deploy .war to JBOSS 5.1 GA
                  Nicklas Karlsson Master

                  Araz: please post a new thread, the original author already started a new one.