4 Replies Latest reply on Dec 4, 2008 11:32 AM by Craig Suchanec

    Deployment Issue

    Craig Suchanec Newbie

      I posted this in the other forum because I did not realize there was a dedicated JBoss 5 forum:

      I was hoping someone could point me in the direction of what the issue might be with an issue I am having with getting my application to deploy in JBoss 5.0.0 RC2. The application deploys fine on 4.2.3 but when I move it over to try to get it to work on 5 I get issues. I know everything we rewritten in 5, so there are probably things I need to change with my code, the problem is the error message I am getting is not very helpful.

      The output from the deployment is as follows:

      ===============================================================================
      .
       JBoss Bootstrap Environment
      .
       JBOSS_HOME: C:\jboss-5.0.0.CR2\bin\\..
      .
       JAVA: C:\Program Files\Java\jdk1.6.0_10\bin\java
      .
       JAVA_OPTS: -Dprogram.name=irs_run.bat -Dpps.prop.file=..\server\irs\conf\pps.prop -Djboss.partiti
      on.name=IRSPartition -Djboss.partition.udpGroup=228.1.2.6 -XX:PermSize=128M -XX:MaxPermSize=128M -Xm
      
      s128m -Xmx512m
      .
       CLASSPATH: C:\Program Files\Java\jdk1.6.0_10\lib\tools.jar;C:\jboss-5.0.0.CR2\bin\\run.jar
      .
      ===============================================================================
      .
      18:11:00,792 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      18:11:00,796 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR
      2 date=200809171139)
      18:11:00,803 INFO [ServerImpl] Home Dir: C:\jboss-5.0.0.CR2
      18:11:00,807 INFO [ServerImpl] Home URL: file:/C:/jboss-5.0.0.CR2/
      18:11:00,812 INFO [ServerImpl] Library URL: file:/C:/jboss-5.0.0.CR2/lib/
      18:11:00,817 INFO [ServerImpl] Patch URL: null
      18:11:00,820 INFO [ServerImpl] Server Name: irs
      18:11:00,823 INFO [ServerImpl] Server Home Dir: C:\jboss-5.0.0.CR2\server\irs
      18:11:00,828 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.0.0.CR2/server/irs/
      18:11:00,832 INFO [ServerImpl] Server Data Dir: C:\jboss-5.0.0.CR2\server\irs\data
      18:11:00,835 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.0.0.CR2\server\irs\tmp
      18:11:00,838 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.0.0.CR2/server/irs/conf/
      18:11:00,842 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.0.0.CR2/server/irs/lib/
      18:11:00,849 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml
      18:11:01,346 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss-5.0.0.CR2/serve
      r/irs/conf/bootstrap.xml
      18:11:02,011 INFO [CopyMechanism] VFS temp dir: C:\jboss-5.0.0.CR2\server\irs\tmp
      18:11:02,263 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      18:11:03,324 INFO [ServerInfo] Java version: 1.6.0_10,Sun Microsystems Inc.
      18:11:03,327 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b15,Sun Microsystems Inc.
      18:11:03,330 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
      18:11:03,372 INFO [JMXKernel] Legacy JMX core initialized
      18:11:04,372 INFO [MetaDataAwareProfile] Using profile root:C:\jboss-5.0.0.CR2\server\irs
      18:11:05,542 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      18:11:31,787 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/jboss-5.0.0
      .CR2/server/irs/deploy/pps.ear state=Not Installed mode=Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.0.
      0.CR2/server/irs/deploy/pps.ear/ppsServlet.war
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentExcept
      ion.java:49)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:343)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:303)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:275)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(Abstrac
      tParsingDeployerWithOutput.java:236)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
      va:1003)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
      va:1056)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
      java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:93
      4)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
      062)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:9
      84)
       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:627)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileService
      Bootstrap.java:265)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootst
      rap.java:143)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:544)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassCastException
       at java.lang.Class.cast(Class.java:2990)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.ja
      va:215)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.ja
      va:170)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.
      java:132)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.
      java:118)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSP
      arsingDeployer.java:256)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingD
      eployer.java:239)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData
      (AbstractParsingDeployerWithOutput.java:336)
       ... 23 more
      18:11:31,913 WARN [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.con
      sole:sar=console-mgr.sar for vfsfile:/C:/jboss-5.0.0.CR2/server/irs/deploy/management/console-mgr.s
      
      ar/ use classloading metadata not loader repository config
      18:11:32,991 INFO [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@19ac931 for BaseC
      lassLoader@88dd83{vfsfile:/C:/jboss-5.0.0.CR2/server/irs/deploy/ejb3-interceptors-aop.xml}
      18:11:50,184 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jnd
      i/rmi://127.0.0.1:1090/jmxconnector
      18:11:50,366 INFO [MailService] Mail Service bound to java:/Mail
      18:11:51,005 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
      18:11:51,008 INFO [NativeServerConfig] 3.0.3.GA
      18:11:52,191 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been dete
      cted that the MessageSucker component which sucks messages from one node to another has not had its
      password changed from the installation default. Please see the JBoss Messaging user guide for instru
      ctions on how to do this.
      18:11:52,609 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc
      .
      18:11:52,612 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
      18:11:53,080 INFO [TransactionManagerService] Initializing recovery manager
      18:11:53,777 INFO [TransactionManagerService] Recovery manager configured
      18:11:53,780 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
      18:11:53,818 INFO [TransactionManagerService] Starting transaction recovery manager
      18:11:54,359 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal perf
      ormance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk
      
      1.6.0_10\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows
      ;C:\Windows\System32\Wbem;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Progra
      
      m Files\Wave Systems Corp\Dell Preboot Manager\Access Client\v5\;C:\Program Files\Common Files\Roxio
       Shared\DLLShared\;c:\program files\GNUWin32\\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Bin
      
      n\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools
      \binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Mic
      
      rosoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;c:\apache-ant-1.6.5\bin\; C:\Program Files\Jav
      a\jdk1.6.0_10\bin\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Common Files\Ulead Systems\
      
      MPEG
      18:11:54,466 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
      18:11:54,480 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:11:54,483 INFO [Catalina] Initialization processed in 389 ms
      18:11:54,486 INFO [StandardService] Starting service jboss.web
      18:11:54,500 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR7
      18:11:54,583 INFO [Catalina] Server startup in 96 ms
      18:11:54,677 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
      18:11:55,734 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-managemen
      t.war
      18:11:55,819 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sa
      r/web-console.war
      18:11:56,345 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.CR2/ser
      ver/irs/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      18:11:56,361 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.CR2/ser
      ver/irs/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      18:11:56,390 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.CR2/ser
      ver/irs/deploy/jms-ra.rar/META-INF/ra.xml
      18:11:56,411 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.CR2/ser
      ver/irs/deploy/mail-ra.rar/META-INF/ra.xml
      18:11:56,442 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/jboss-5.0.0.CR2/ser
      ver/irs/deploy/quartz-ra.rar/META-INF/ra.xml
      18:11:56,631 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      18:11:56,669 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      18:11:56,676 INFO [RAMJobStore] RAMJobStore initialized.
      18:11:56,680 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from
      default resource file in Quartz package: 'quartz.properties'
      18:11:56,686 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      18:11:56,691 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      18:11:57,830 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
      SourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      18:11:58,348 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VA
      RCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VA
      
      RCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VA
      RCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAM
      
      E,JOB_GROUP))
      18:11:58,437 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
      18:11:58,444 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      18:11:58,447 INFO [JobStoreCMT] Using db table-based data access locking (synchronization).
      18:11:58,466 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s).
      18:11:58,470 INFO [JobStoreCMT] Removed 0 Volatile Job(s).
      18:11:58,474 INFO [JobStoreCMT] JobStoreCMT initialized.
      18:11:58,477 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized fro
      m an externally provided properties instance.
      18:11:58,480 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      18:11:58,486 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
      18:11:58,497 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shu
      t-down.
      18:11:58,500 INFO [JobStoreCMT] Recovery complete.
      18:11:58,504 INFO [JobStoreCMT] Removed 0 'complete' triggers.
      18:11:58,513 INFO [JobStoreCMT] Removed 0 stale fired job entries.
      18:11:58,520 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
      18:11:58,901 INFO [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
      18:11:59,071 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection fa
      ctory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non c
      
      lustered. So connection factory will *not* support failover
      18:11:59,082 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connecti
      on factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is
      non clustered. So connection factory will *not* support load balancing
      18:11:59,216 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
      e period 10000 milliseconds
      18:11:59,219 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@30ea
      9 started
      18:11:59,246 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000,
       downCacheSize=2000
      18:11:59,251 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
      e period 10000 milliseconds
      18:11:59,255 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@fe91
      8f started
      18:11:59,266 INFO [TopicService] Topic[/topic/FccSendFamEmail] started, fullSize=200000, pageSize=2
      000, downCacheSize=2000
      18:11:59,272 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCac
      heSize=2000
      18:11:59,283 INFO [TopicService] Topic[/topic/FccSendEmail] started, fullSize=200000, pageSize=2000
      , downCacheSize=2000
      18:11:59,288 INFO [TopicService] Topic[/topic/FccSendApprovedEmail] started, fullSize=200000, pageS
      ize=2000, downCacheSize=2000
      18:11:59,294 INFO [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, leas
      e period 10000 milliseconds
      18:11:59,300 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@a80f
      3a started
      18:11:59,304 INFO [TopicService] Topic[/topic/FccSendApprovedTypeEmail] started, fullSize=200000, p
      ageSize=2000, downCacheSize=2000
      18:11:59,428 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Conn
      ectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      18:11:59,466 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=Data
      SourceBinding,name=MSSQLXADS' to JNDI name 'java:MSSQLXADS'
      18:11:59,484 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
      18:11:59,556 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
      18:11:59,673 INFO [TomcatDeployment] deploy, ctxPath=/ppsReportNew, vfsUrl=ppsReportNew.war
      18:11:59,752 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deploymen
      ts (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear -> java.lang.ClassCastException
      
      
      18:11:59,800 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      18:11:59,826 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      18:11:59,838 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 dat
      e=200809171139)] Started in 58s:983ms



      The log which was set to debug has the following output:

      2008-12-04 08:57:10,868 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (main) http://xml.org/sax/features/validation set to: true
      2008-12-04 08:57:10,868 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (main) http://xml.org/sax/features/namespaces set to: true
      2008-12-04 08:57:10,868 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (main) http://apache.org/xml/features/validation/dynamic set to: true
      2008-12-04 08:57:10,868 DEBUG [org.jboss.xb.binding.parser.sax.SaxJBossXBParser] (main) Created parser: org.apache.xerces.jaxp.SAXParserImpl@f023c, isNamespaceAware: true, isValidating: true, isXIncludeAware: true
      2008-12-04 08:57:10,939 DEBUG [org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper] (main) Parsed file: ZipEntryHandler@23218716[path=pps.ear/ppsServlet.war/WEB-INF/applicationContext-hibernate.xml context=file:/C:/jboss-5.0.0.CR2/server/irs/deploy/ real=file:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear/ppsServlet.war/WEB-INF/applicationContext-hibernate.xml] to: java:/MSSQLXADS
      2008-12-04 08:57:10,940 DEBUG [org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer] (main) Error during deploy: vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear/ppsServlet.war
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear/ppsServlet.war
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:303)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:275)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
       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:627)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:544)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassCastException
       at java.lang.Class.cast(Class.java:2990)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:215)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:336)
       ... 23 more
      2008-12-04 08:57:10,942 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Parse: name=vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear state=Not Installed mode=Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear/ppsServlet.war
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:303)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:275)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
       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:627)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:544)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.ClassCastException
       at java.lang.Class.cast(Class.java:2990)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:215)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:336)
       ... 23 more
      2008-12-04 08:57:11,076 WARN [org.jboss.system.deployers.HackClassloaderMetaDataDeployer] (main) FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for vfsfile:/C:/jboss-5.0.0.CR2/server/irs/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
      


      It seems as if it depoly handles the deployment of my Spring Application (that's what the applicationContext-hibernate.xml (don't ask me why its called that)). It then fails on whatever it tries to handle next

      If I try to do a Hot redeploy I also get this, I don't know if it is any help.



      08:41:30,341 WARN [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear -> java.lang.ClassCastException
      
      
       at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       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)
      08:41:40,569 WARN [ZipEntryContext] IGNORING: Failed to reinitialize context: vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear
      java.util.zip.ZipException: error in opening zip file
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(ZipFile.java:114)
       at java.util.zip.ZipFile.<init>(ZipFile.java:131)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:175)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:245)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:393)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:631)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:663)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:174)
       at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:537)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:154)
       at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:106)
       at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:451)
       at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(DeclaredStructure.java:64)
       at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
       at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
       at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
       at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:845)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:270)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       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)
      08:41:40,709 WARN [HDScanner] Scan failed
      org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(pps.ear)
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:845)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:303)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:260)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:270)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       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: java.lang.RuntimeException: Error determining structure: pps.ear
       at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:289)
       at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
       at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
       at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
       at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
       ... 14 more
      Caused by: java.lang.RuntimeException: /pps-ejb.jar module listed in application.xml does not exist within .ear pps.ear
       at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:268)
       ... 18 more
      08:41:48,050 INFO [TopicService] Topic[/topic/FccSendFamEmail] stopped
      08:41:48,055 INFO [TopicService] Topic[/topic/FccSendApprovedTypeEmail] stopped
      08:41:48,060 INFO [TopicService] Topic[/topic/FccSendApprovedEmail] stopped
      08:41:48,065 INFO [TopicService] Topic[/topic/FccSendEmail] stopped
      08:41:48,074 WARN [DeployersImpl] Error during uninstall
      java.lang.IllegalStateException: Not installed: vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear
       at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:689)
       at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:568)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:567)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       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)
      08:41:48,737 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear state=Not Installed mode=Manual requiredState=Parse
      org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear/ppsServlet.war
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:303)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:275)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:236)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
       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:627)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       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: java.lang.ClassCastException
       at java.lang.Class.cast(Class.java:2990)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:215)
       at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132)
       at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256)
       at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239)
       at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:336)
       ... 28 more
      08:41:48,897 INFO [TopicService] Topic[/topic/FccSendEmail] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      08:41:48,906 INFO [TopicService] Topic[/topic/FccSendApprovedEmail] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      08:41:48,919 INFO [TopicService] Topic[/topic/FccSendApprovedTypeEmail] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      08:41:48,932 INFO [TopicService] Topic[/topic/FccSendFamEmail] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      08:41:48,936 WARN [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      vfszip:/C:/jboss-5.0.0.CR2/server/irs/deploy/pps.ear -> java.lang.ClassCastException
      
      
       at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
       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)
      



      This is a legacy application that is running EJB 2.1. It also has Spring and Hibernate in it. Because it said error creating managed object I thought it might be a Hibernate error so I removed all the Hibernate configurations from my build to no avail.

      I looked at the ClassCastException occurred and it looks as if there is something wrong with it trying to parse a schema somewhere. It is in the WAR file this is occuring so I have ensured that the web.xml and all my spring configuration files have up to date schemas. I was previously getting an error before i changed by Spring schemas to use the xsd version instead of dtd version, but changing those brought up this error, which is similar. Before it had said that there was an error with a particular schema this time its very ambiguous.


      I don't necessarily expect a solution, just someone to point me in a direct or ideas. I know the error is ambigious and there is not a lot of information. That is because I have no information except this.

        • 1. Re: Deployment Issue
          Ales Justin Master

          Can you turn on trace log for org.jboss.deployers.vfs.spi.deployer,
          so I'll see which file is handled during this exception.

          • 2. Re: Deployment Issue
            Ales Justin Master

             

            "alesj" wrote:
            Can you turn on trace log for org.jboss.deployers.vfs.spi.deployer,
            so I'll see which file is handled during this exception.

            Eh, I need to read your log better next time. :-)
            It's already here:
            2008-12-04 08:57:10,939 DEBUG [org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper] (main) Pa
            rsed file: ZipEntryHandler@23218716[path=pps.ear/ppsServlet.war/WEB-INF/applicationContext-hibernate
            .xml context=file:/C:/jboss-5.0.0.CR2/server/irs/deploy/ real=file:/C:/jboss-5.0.0.CR2/server/irs/de
            ploy/pps.ear/ppsServlet.war/WEB-INF/applicationContext-hibernate.xml] to: java:/MSSQLXADS
            


            Let me check why this would be a problem.

            • 3. Re: Deployment Issue
              Ales Justin Master

               

              "alesj" wrote:

              Let me check why this would be a problem.

              Your problem comes from:
              - JBOSS_HOME/server/(config)/deployers/hibernate-deployer-jboss-beans.xml

              Either
              - rename applicationContext-hibernate.xml
              - change hibernate-deployer-jboss-beans.xml
              - remove hibernate-deployer-jboss-beans.xml

              • 4. Re: Deployment Issue
                Craig Suchanec Newbie

                Thanks for the help. That seemed to resolve that issue. I now have other ones, but I at least can move on from here. Thank you very much