Guest User

Untitled

a guest
Jan 19th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.18 KB | None | 0 0
  1. <Jan 19, 2018 11:31:02,022 PM IST> <Error> <Munger> <BEA-2156200> <Unable to load descriptor C:UsersHandeDocumentsNetBeansProjectsSimpleSpringJMXdistSimpleSpringJMX.war/WEB-INF/web.xml of module SimpleSpringJMX.war. The error is weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
  2. <19:7> problem: cvc-complex-type.2.4a: Expected elements 'module-name@http://xmlns.jcp.org/xml/ns/javaee description@http://xmlns.jcp.org/xml/ns/javaee display-name@http://xmlns.jcp.org/xml/ns/javaee icon@http://xmlns.jcp.org/xml/ns/javaee distributable@http://xmlns.jcp.org/xml/ns/javaee context-param@http://xmlns.jcp.org/xml/ns/javaee filter@http://xmlns.jcp.org/xml/ns/javaee filter-mapping@http://xmlns.jcp.org/xml/ns/javaee listener@http://xmlns.jcp.org/xml/ns/javaee servlet@http://xmlns.jcp.org/xml/ns/javaee servlet-mapping@http://xmlns.jcp.org/xml/ns/javaee session-config@http://xmlns.jcp.org/xml/ns/javaee mime-mapping@http://xmlns.jcp.org/xml/ns/javaee welcome-file-list@http://xmlns.jcp.org/xml/ns/javaee problem-page@http://xmlns.jcp.org/xml/ns/javaee jsp-config@http://xmlns.jcp.org/xml/ns/javaee security-constraint@http://xmlns.jcp.org/xml/ns/javaee login-config@http://xmlns.jcp.org/xml/ns/javaee security-role@http://xmlns.jcp.org/xml/ns/javaee env-entry@http://xmlns.jcp.org/xml/ns/javaee ejb-ref@http://xmlns.jcp.org/xml/ns/javaee ejb-local-ref@http://xmlns.jcp.org/xml/ns/javaee service-ref@http://xmlns.jcp.org/xml/ns/javaee resource-ref@http://xmlns.jcp.org/xml/ns/javaee resource-env-ref@http://xmlns.jcp.org/xml/ns/javaee message-destination-ref@http://xmlns.jcp.org/xml/ns/javaee persistence-context-ref@http://xmlns.jcp.org/xml/ns/javaee persistence-unit-ref@http://xmlns.jcp.org/xml/ns/javaee post-construct@http://xmlns.jcp.org/xml/ns/javaee pre-destroy@http://xmlns.jcp.org/xml/ns/javaee data-source@http://xmlns.jcp.org/xml/ns/javaee jms-connection-factory@http://xmlns.jcp.org/xml/ns/javaee jms-destination@http://xmlns.jcp.org/xml/ns/javaee mail-session@http://xmlns.jcp.org/xml/ns/javaee connection-factory@http://xmlns.jcp.org/xml/ns/javaee administered-object@http://xmlns.jcp.org/xml/ns/javaee message-destination@http://xmlns.jcp.org/xml/ns/javaee locale-encoding-mapping-list@http://xmlns.jcp.org/xml/ns/javaee deny-uncovered-http-methods@http://xmlns.jcp.org/xml/ns/javaee absolute-ordering@http://xmlns.jcp.org/xml/ns/javaee' instead of 'bean@http://xmlns.jcp.org/xml/ns/javaee' here in element web-app@http://xmlns.jcp.org/xml/ns/javaee
  3. at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:249)
  4. at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:235)
  5. at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:159)
  6. at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:345)
  7. at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:307)
  8. at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:870)
  9. at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:445)
  10. at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:832)
  11. at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:841)
  12. at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:145)
  13. at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1629)
  14. at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:269)
  15. at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:707)
  16. at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
  17. at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
  18. at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)
  19. at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:311)
  20. at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:532)
  21. at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:558)
  22. at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:729)
  23. at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
  24. at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:241)
  25. at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52)
  26. at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
  27. at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)
  28. at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:229)
  29. at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:103)
  30. at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:242)
  31. at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:800)
  32. at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1352)
  33. at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:270)
  34. at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:177)
  35. at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:186)
  36. at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:14)
  37. at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
  38. at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:670)
  39. at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
  40. at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
  41. at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
  42. at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
  43. at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
  44. at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
  45. at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)
  46. .>
  47. <Jan 19, 2018 11:31:02,305 PM IST> <Error> <HTTP> <BEA-101064> <[WebAppModule(SimpleSpringJMX:SimpleSpringJMX.war)] Error parsing descriptor in Web appplication "C:UsersHandeDocumentsNetBeansProjectsSimpleSpringJMXdistSimpleSpringJMX.war"
  48. weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
  49. <19:7> problem: cvc-complex-type.2.4a: Expected elements 'module-name@http://xmlns.jcp.org/xml/ns/javaee description@http://xmlns.jcp.org/xml/ns/javaee display-name@http://xmlns.jcp.org/xml/ns/javaee icon@http://xmlns.jcp.org/xml/ns/javaee distributable@http://xmlns.jcp.org/xml/ns/javaee context-param@http://xmlns.jcp.org/xml/ns/javaee filter@http://xmlns.jcp.org/xml/ns/javaee filter-mapping@http://xmlns.jcp.org/xml/ns/javaee listener@http://xmlns.jcp.org/xml/ns/javaee servlet@http://xmlns.jcp.org/xml/ns/javaee servlet-mapping@http://xmlns.jcp.org/xml/ns/javaee session-config@http://xmlns.jcp.org/xml/ns/javaee mime-mapping@http://xmlns.jcp.org/xml/ns/javaee welcome-file-list@http://xmlns.jcp.org/xml/ns/javaee problem-page@http://xmlns.jcp.org/xml/ns/javaee jsp-config@http://xmlns.jcp.org/xml/ns/javaee security-constraint@http://xmlns.jcp.org/xml/ns/javaee login-config@http://xmlns.jcp.org/xml/ns/javaee security-role@http://xmlns.jcp.org/xml/ns/javaee env-entry@http://xmlns.jcp.org/xml/ns/javaee ejb-ref@http://xmlns.jcp.org/xml/ns/javaee ejb-local-ref@http://xmlns.jcp.org/xml/ns/javaee service-ref@http://xmlns.jcp.org/xml/ns/javaee resource-ref@http://xmlns.jcp.org/xml/ns/javaee resource-env-ref@http://xmlns.jcp.org/xml/ns/javaee message-destination-ref@http://xmlns.jcp.org/xml/ns/javaee persistence-context-ref@http://xmlns.jcp.org/xml/ns/javaee persistence-unit-ref@http://xmlns.jcp.org/xml/ns/javaee post-construct@http://xmlns.jcp.org/xml/ns/javaee pre-destroy@http://xmlns.jcp.org/xml/ns/javaee data-source@http://xmlns.jcp.org/xml/ns/javaee jms-connection-factory@http://xmlns.jcp.org/xml/ns/javaee jms-destination@http://xmlns.jcp.org/xml/ns/javaee mail-session@http://xmlns.jcp.org/xml/ns/javaee connection-factory@http://xmlns.jcp.org/xml/ns/javaee administered-object@http://xmlns.jcp.org/xml/ns/javaee message-destination@http://xmlns.jcp.org/xml/ns/javaee locale-encoding-mapping-list@http://xmlns.jcp.org/xml/ns/javaee deny-uncovered-http-methods@http://xmlns.jcp.org/xml/ns/javaee absolute-ordering@http://xmlns.jcp.org/xml/ns/javaee' instead of 'bean@http://xmlns.jcp.org/xml/ns/javaee' here in element web-app@http://xmlns.jcp.org/xml/ns/javaee
  50. at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1649)
  51. at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:269)
  52. at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:707)
  53. at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)
  54. at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:98)
  55. Truncated. see log file for complete stacktrace
  56. Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
  57. <19:7> problem: cvc-complex-type.2.4a: Expected elements 'module-name@http://xmlns.jcp.org/xml/ns/javaee description@ht
  58.  
  59. <?xml version="1.0" encoding="UTF-8"?>
  60.  
  61. <web-app xmlns="http://java.sun.com/xml/ns/javaee"
  62. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  63. xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
  64. version="3.0">
  65. <session-config>
  66. <session-timeout>
  67. 30
  68. </session-timeout>
  69. </session-config>
  70. <listener>
  71. <listener-class>
  72. org.springframework.web.context.ContextLoaderListener
  73. </listener-class>
  74. </listener>
  75.  
  76. <!-- export bean to JMX -->
  77. <bean id="exporter" class="org.springframework.jmx.export.MBeanExporter" lazy-init="false">
  78. <property name="beans">
  79. <map>
  80. <entry key="com.test.jmx.netbeans:Name=ManagedColor" value-ref="rainbow" />
  81. </map>
  82. </property>
  83. </bean>
  84. </web-app>
  85.  
  86. <?xml version="1.0" encoding="UTF-8"?>
  87. <beans xmlns="http://www.springframework.org/schema/beans"
  88. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  89.  
  90. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.7.RELEASE.xsd
  91. ">
  92.  
  93. <bean id="rainbow" class="org.test.jmx.netbeans.ManagedColor">
  94. <property name="color" value="red" />
  95. </bean>
  96.  
  97. </beans>
Add Comment
Please, Sign In to add comment