项目在tomcat中启动正常,在jboss无法启动?

发布于 2021-11-22 03:51:17 字数 17846 浏览 728 评论 1

如题:请高手看看

23:16:08,494 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
23:16:08,495 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)
23:16:08,496 INFO  [ServerImpl] Bootstrap URL: null
23:16:08,496 INFO  [ServerImpl] Home Dir: E:webserverjboss-5.0.1.GA
23:16:08,496 INFO  [ServerImpl] Home URL: file:/E:/webserver/jboss-5.0.1.GA/
23:16:08,496 INFO  [ServerImpl] Library URL: file:/E:/webserver/jboss-5.0.1.GA/lib/
23:16:08,496 INFO  [ServerImpl] Patch URL: null
23:16:08,497 INFO  [ServerImpl] Common Base URL: file:/E:/webserver/jboss-5.0.1.GA/common/
23:16:08,497 INFO  [ServerImpl] Common Library URL: file:/E:/webserver/jboss-5.0.1.GA/common/lib/
23:16:08,497 INFO  [ServerImpl] Server Name: default
23:16:08,497 INFO  [ServerImpl] Server Base Dir: E:webserverjboss-5.0.1.GAserver
23:16:08,497 INFO  [ServerImpl] Server Base URL: file:/E:/webserver/jboss-5.0.1.GA/server/
23:16:08,497 INFO  [ServerImpl] Server Config URL: file:/E:/webserver/jboss-5.0.1.GA/server/default/conf/
23:16:08,497 INFO  [ServerImpl] Server Home Dir: E:webserverjboss-5.0.1.GAserverdefault
23:16:08,497 INFO  [ServerImpl] Server Home URL: file:/E:/webserver/jboss-5.0.1.GA/server/default/
23:16:08,497 INFO  [ServerImpl] Server Data Dir: E:webserverjboss-5.0.1.GAserverdefaultdata
23:16:08,497 INFO  [ServerImpl] Server Library URL: file:/E:/webserver/jboss-5.0.1.GA/server/default/lib/
23:16:08,497 INFO  [ServerImpl] Server Log Dir: E:webserverjboss-5.0.1.GAserverdefaultlog
23:16:08,497 INFO  [ServerImpl] Server Native Dir: E:webserverjboss-5.0.1.GAserverdefaulttmpnative
23:16:08,498 INFO  [ServerImpl] Server Temp Dir: E:webserverjboss-5.0.1.GAserverdefaulttmp
23:16:08,498 INFO  [ServerImpl] Server Temp Deploy Dir: E:webserverjboss-5.0.1.GAserverdefaulttmpdeploy
23:16:08,951 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/webserver/jboss-5.0.1.GA/server/default/conf/bootstrap.xml
23:16:09,334 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
23:16:09,336 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
23:16:09,573 INFO  [CopyMechanism] VFS temp dir: E:webserverjboss-5.0.1.GAserverdefaulttmp
23:16:09,575 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
23:16:10,302 INFO  [ServerInfo] Java version: 1.6.0_43,Sun Microsystems Inc.
23:16:10,302 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
23:16:10,302 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 20.14-b01,Sun Microsystems Inc.
23:16:10,302 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
23:16:10,358 INFO  [JMXKernel] Legacy JMX core initialized
23:16:11,464 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@4c2683(root=E:webserverjboss-5.0.1.GAserver, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
23:16:11,468 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@4c2683(root=E:webserverjboss-5.0.1.GAserver, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
23:16:11,468 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@720f6c{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
23:16:12,358 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
23:16:15,866 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
23:16:15,866 INFO  [NativeServerConfig] 3.0.5.GA
23:16:44,549 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/sundapos.war/ state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/sundapos.war/
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:337)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:297)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:269)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:230)
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: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:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:662)
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.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199)
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:188)
at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:323)
... 22 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.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:340)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:306)
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)
... 30 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:175)
at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:146)
at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:332)
... 45 more
23:16:48,581 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
23:16:48,725 INFO  [MailService] Mail Service bound to java:/Mail
23:16:50,289 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.
23:16:50,313 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
23:16:50,417 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
23:16:50,417 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
23:16:50,647 INFO  [TransactionManagerService] Initializing recovery manager
23:16:50,750 INFO  [TransactionManagerService] Recovery manager configured
23:16:50,750 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
23:16:50,777 INFO  [TransactionManagerService] Starting transaction recovery manager
23:16:51,639 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
23:16:51,640 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
23:16:51,640 INFO  [StandardService] Starting service jboss.web
23:16:51,642 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
23:16:51,686 INFO  [Catalina] Server startup in 93 ms
23:16:51,704 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
23:16:52,171 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
23:16:52,208 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
23:16:52,267 INFO  [[/web-console]] SystemFolder: Failed to init plugin, bsh/Interpreter
23:16:52,296 INFO  [[/web-console]] J2EEFolder: Failed to init plugin, bsh/Interpreter
23:16:52,389 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
23:16:52,403 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
23:16:52,421 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
23:16:52,436 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
23:16:52,460 INFO  [RARDeployment] Required license terms exist, view vfszip:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
23:16:52,526 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
23:16:52,556 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
23:16:52,558 INFO  [RAMJobStore] RAMJobStore initialized.
23:16:52,558 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
23:16:52,558 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
23:16:52,559 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
23:16:53,495 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
23:16:53,916 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
23:16:54,029 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
23:16:54,029 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@13a4950 started
23:16:54,036 INFO  [TopicService] Topic[topic/chatTopic] started, fullSize=200000, pageSize=2000, downCacheSize=2000
23:16:54,045 INFO  [QueueService] Queue[queue/myDestination] started, fullSize=200000, pageSize=2000, downCacheSize=2000
23:16:54,046 WARN  [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
23:16:54,046 WARN  [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
23:16:54,047 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
23:16:54,047 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@3802fb started
23:16:54,048 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
23:16:54,048 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@4e6c9d started
23:16:54,049 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
23:16:54,050 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
23:16:54,152 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
23:16:54,198 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultSqlServerDS' to JNDI name 'java:DefaultSqlServerDS'
23:16:54,249 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultMySqlDS' to JNDI name 'java:DefaultMySqlDS'
23:16:54,297 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=NewsDBMySqlDS' to JNDI name 'java:NewsDBMySqlDS'
23:16:54,349 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultOracleDS' to JNDI name 'java:DefaultOracleDS'
23:16:54,368 INFO  [TomcatDeployment] deploy, ctxPath=/
23:16:54,412 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
23:16:54,462 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):


DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/E:/webserver/jboss-5.0.1.GA/server/default/deploy/sundapos.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 '>'.


23:16:54,474 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
23:16:54,491 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
23:16:54,497 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 45s:998ms


如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北笙凉宸 2021-11-23 20:33:20

你的web.xml是3.0版本,jboss版本太低不支持,需要升级jboss版本。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文