16:49:04,535 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
16:49:04,536 INFO  [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)
16:49:04,536 INFO  [ServerImpl] Bootstrap URL: null
16:49:04,536 INFO  [ServerImpl] Home Dir: E:\Tomcat6.0\jboss-5.1.0.GA
16:49:04,536 INFO  [ServerImpl] Home URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/
16:49:04,537 INFO  [ServerImpl] Library URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/lib/
16:49:04,537 INFO  [ServerImpl] Patch URL: null
16:49:04,537 INFO  [ServerImpl] Common Base URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/common/
16:49:04,537 INFO  [ServerImpl] Common Library URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/common/lib/
16:49:04,538 INFO  [ServerImpl] Server Name: default
16:49:04,538 INFO  [ServerImpl] Server Base Dir: E:\Tomcat6.0\jboss-5.1.0.GA\server
16:49:04,538 INFO  [ServerImpl] Server Base URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/server/
16:49:04,538 INFO  [ServerImpl] Server Config URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/conf/
16:49:04,538 INFO  [ServerImpl] Server Home Dir: E:\Tomcat6.0\jboss-5.1.0.GA\server\default
16:49:04,538 INFO  [ServerImpl] Server Home URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/
16:49:04,538 INFO  [ServerImpl] Server Data Dir: E:\Tomcat6.0\jboss-5.1.0.GA\server\default\data
16:49:04,538 INFO  [ServerImpl] Server Library URL: file:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/lib/
16:49:04,539 INFO  [ServerImpl] Server Log Dir: E:\Tomcat6.0\jboss-5.1.0.GA\server\default\log
16:49:04,539 INFO  [ServerImpl] Server Native Dir: E:\Tomcat6.0\jboss-5.1.0.GA\server\default\tmp\native
16:49:04,539 INFO  [ServerImpl] Server Temp Dir: E:\Tomcat6.0\jboss-5.1.0.GA\server\default\tmp
16:49:04,539 INFO  [ServerImpl] Server Temp Deploy Dir: E:\Tomcat6.0\jboss-5.1.0.GA\server\default\tmp\deploy
16:49:05,244 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/conf/bootstrap.xml
16:49:05,815 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
16:49:05,818 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
16:49:06,116 INFO  [CopyMechanism] VFS temp dir: E:\Tomcat6.0\jboss-5.1.0.GA\server\default\tmp
16:49:06,118 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
16:49:07,256 INFO  [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
16:49:07,256 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
16:49:07,256 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_01-b06,Sun Microsystems Inc.
16:49:07,256 INFO  [ServerInfo] OS-System: Windows Vista 6.1,x86
16:49:07,257 INFO  [ServerInfo] VM arguments: -Djboss.home=E:\Tomcat6.0\jboss-5.1.0.GA -Djava.library.path=C:\Program Files\Java\jdk1.6.0_01\bin -Djava.endorsed.dirs=E:\Tomcat6.0\jboss-5.1.0.GA\lib\endorsed -Xms128m -Xmx512m -XX:MaxPermSize=256m 
16:49:07,294 INFO  [JMXKernel] Legacy JMX core initialized
16:49:09,089 INFO  [ProfileServiceBootstrap] Loading profile: ProfileKey@a36771[domain=default, server=default, name=default]
16:49:11,005 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
16:49:16,464 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
16:49:16,464 INFO  [NativeServerConfig] 3.1.2.GA
16:49:17,228 INFO  [AttributeCallbackItem] Owner callback not implemented.
16:49:18,700 INFO  [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@cfad31[ defaultDomain='jboss' ]
16:49:26,269 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.war/ state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.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.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ClassCastException
at java.lang.Class.cast(Class.java:2990)
at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:194)
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:239)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:355)
... 33 more
16:49:34,281 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@25940814{vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
16:49:34,282 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@25940814{vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
16:49:34,282 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@25940814{vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
16:49:34,282 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@25940814{vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
16:49:37,555 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
16:49:37,723 INFO  [MailService] Mail Service bound to java:/Mail
16:49:42,029 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected 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 instructions on how to do this.
16:49:42,052 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
16:49:42,168 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent

解决方案 »

  1.   

    16:49:42,225 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
    16:49:42,225 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
    16:49:42,593 INFO  [TransactionManagerService] Initializing recovery manager
    16:49:42,788 INFO  [TransactionManagerService] Recovery manager configured
    16:49:42,788 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
    16:49:42,819 INFO  [TransactionManagerService] Starting transaction recovery manager
    16:49:43,418 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_01\bin
    16:49:43,520 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
    16:49:43,570 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
    16:49:43,600 INFO  [StandardService] Starting service jboss.web
    16:49:43,603 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA
    16:49:43,659 INFO  [Catalina] Server startup in 88 ms
    16:49:43,682 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
    16:49:45,628 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
    16:49:45,780 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
    16:49:46,089 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
    16:49:46,116 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
    16:49:46,189 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
    16:49:46,252 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
    16:49:46,294 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
    16:49:46,461 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
    16:49:46,510 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
    16:49:46,523 INFO  [RAMJobStore] RAMJobStore initialized.
    16:49:46,524 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
    16:49:46,524 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
    16:49:46,525 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
    16:49:47,783 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    16:49:49,244 INFO  [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started
    16:49:49,364 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
    16:49:49,430 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
    16:49:49,430 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@67f451 started
    16:49:49,437 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
    16:49:49,437 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@8b80c3 started
    16:49:49,438 INFO  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
    16:49:49,438 INFO  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
    16:49:49,440 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
    16:49:49,441 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1daeba started
    16:49:49,443 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
    16:49:49,587 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    16:49:50,128 INFO  [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar
    16:49:50,141 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
    16:49:50,141 INFO  [JBossASKernel]   with dependencies:
    16:49:50,141 INFO  [JBossASKernel]   and demands:
    16:49:50,141 INFO  [JBossASKernel]  jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
    16:49:50,141 INFO  [JBossASKernel]  jboss.ejb:service=EJBTimerService
    16:49:50,141 INFO  [JBossASKernel]   and supplies:
    16:49:50,142 INFO  [JBossASKernel]  Class:org.jboss.profileservice.spi.ProfileService
    16:49:50,142 INFO  [JBossASKernel]  jndi:SecureProfileService/remote
    16:49:50,142 INFO  [JBossASKernel]  jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
    16:49:50,142 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
    16:49:50,144 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
    16:49:50,144 INFO  [JBossASKernel]   with dependencies:
    16:49:50,144 INFO  [JBossASKernel]   and demands:
    16:49:50,145 INFO  [JBossASKernel]  jboss.ejb:service=EJBTimerService
    16:49:50,145 INFO  [JBossASKernel]   and supplies:
    16:49:50,145 INFO  [JBossASKernel]  jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
    16:49:50,145 INFO  [JBossASKernel]  Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
    16:49:50,145 INFO  [JBossASKernel]  jndi:SecureDeploymentManager/remote
    16:49:50,145 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
    16:49:50,146 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
    16:49:50,146 INFO  [JBossASKernel]   with dependencies:
    16:49:50,146 INFO  [JBossASKernel]   and demands:
    16:49:50,146 INFO  [JBossASKernel]  jboss.ejb:service=EJBTimerService
    16:49:50,147 INFO  [JBossASKernel]   and supplies:
    16:49:50,147 INFO  [JBossASKernel]  jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
    16:49:50,147 INFO  [JBossASKernel]  Class:org.jboss.deployers.spi.management.ManagementView
    16:49:50,147 INFO  [JBossASKernel]  jndi:SecureManagementView/remote
    16:49:50,147 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
    16:49:50,155 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@4c1e31{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
    16:49:50,155 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@1f7a3f3{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
    16:49:50,155 INFO  [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@122bfd6{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
    16:49:50,322 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
    16:49:50,342 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
    16:49:50,455 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
    SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
    SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface
      

  2.   

    16:49:50,580 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
    16:49:50,581 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
    16:49:50,598 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
    SecureManagementView/remote - EJB3.x Default Remote Business Interface
    SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface
    16:49:50,652 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
    16:49:50,653 INFO  [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
    16:49:50,669 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
    SecureProfileService/remote - EJB3.x Default Remote Business Interface
    SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface
    16:49:50,858 INFO  [TomcatDeployment] deploy, ctxPath=/admin-console
    16:49:50,978 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
    16:49:54,846 INFO  [TomcatDeployment] deploy, ctxPath=/
    16:49:54,909 INFO  [TomcatDeployment] deploy, ctxPath=/TesTomcat
    16:49:54,982 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
    16:49:55,136 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    DEPLOYMENTS IN ERROR:
      Deployment "vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.war/" is in error due to the following reason(s): java.lang.ClassCastException
    16:49:55,158 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
    16:49:55,221 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
    16:49:55,229 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 50s:688ms
    17:05:00,356 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.war/ state=Not Installed mode=Manual requiredState=Parse
    org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.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:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassCastException
    at java.lang.Class.cast(Class.java:2990)
    at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:194)
    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:239)
    at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:355)
    ... 28 more
    17:05:00,358 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
    vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.war/ -> org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.war/
    DEPLOYMENTS IN ERROR:
      Deployment "vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.war/" is in error due to the following reason(s): java.lang.ClassCastException
    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:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)项目jboss部署启动就报错,而用TOMCAT部署启动的话,没有问题。纠结了.....不知道错误原因。
      

  3.   

    主要是org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/Tomcat6.0/jboss-5.1.0.GA/server/default/deploy/scv.war/
    这个错误
    Caused by: java.lang.ClassCastException
    不知道究竟什么引起的