[jboss-user] [Installation, Configuration & DEPLOYMENT] - Drools 4 on GlassFish
MichaelMuo
do-not-reply at jboss.com
Tue Jul 31 10:46:06 EDT 2007
I do have the problem with deployment of drools-jbrms.war file.
More concretely:
JDK: 1.6.0_02
Drooles: drools-4.0.0-brms
GlassFish: v2-b50g
The error is:
[#|2007-07-31T10:03:48.444-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;/srv/glassfish/domains/domain1/autodeploy/drools-jbrms.war;_RequestID=d7b67b65-dc75-498e-81ea-bf37145211ce;|"DPL8004: file open failure; file = /srv/glassfish/domains/domain1/autodeploy/drools-jbrms.war"|#]
[#|2007-07-31T10:03:48.470-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;|[AutoDeploy] The copy operation for /srv/glassfish/domains/domain1/autodeploy/drools-jbrms.war into the auto-deploy directory may still be in progress or the file may be corrupt; will retry periodically until at least Tue Jul 31 10:04:18 EDT 2007|#]
[#|2007-07-31T10:03:50.390-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;/srv/glassfish/domains/domain1/autodeploy/drools-jbrms.war;_RequestID=d7b67b65-dc75-498e-81ea-bf37145211ce;|"DPL8004: file open failure; file = /srv/glassfish/domains/domain1/autodeploy/drools-jbrms.war"|#]
[#|2007-07-31T10:03:52.387-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;|[AutoDeploy] Selecting file /srv/glassfish/domains/domain1/autodeploy/drools-jbrms.war for autodeployment.|#]
[#|2007-07-31T10:03:56.276-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;Deployment descriptor file WEB-INF/web.xml in archive [drools-jbrms].;54;11;The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".;_RequestID=d7b67b65-dc75-498e-81ea-bf37145211ce;|"DPL8015: Invalid Deployment Descriptors in Deployment descriptor file WEB-INF/web.xml in archive [drools-jbrms].
Line 54 Column 11 -- The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)"."|#]
[#|2007-07-31T10:03:56.281-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".;_RequestID=d7b67b65-dc75-498e-81ea-bf37145211ce;|"DPL8005: Deployment Descriptor parsing failure : The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)"."|#]
[#|2007-07-31T10:03:56.442-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;_RequestID=d7b67b65-dc75-498e-81ea-bf37145211ce;|Exception occured in J2EEC Phaseorg.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [drools-jbrms] Line 54 Column 11 -- Deployment descriptor file WEB-INF/web.xml in archive [drools-jbrms]. The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:378)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:423)
at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:157)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:179)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:187)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:905)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:276)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:294)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:555)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:564)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:545)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:492)
at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:267)
at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:298)
at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:220)
at com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:480)
at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:305)
at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
... 32 more
|#]
[#|2007-07-31T10:03:56.450-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;Error loading deployment descriptors for module [drools-jbrms] Line 54 Column 11 -- Deployment descriptor file WEB-INF/web.xml in archive [drools-jbrms]. The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
;_RequestID=d7b67b65-dc75-498e-81ea-bf37145211ce;|"DPL8011: autodeployment failure while deploying the application : Error loading deployment descriptors for module [drools-jbrms] Line 54 Column 11 -- Deployment descriptor file WEB-INF/web.xml in archive [drools-jbrms]. The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
"|#]
[#|2007-07-31T10:03:56.452-0400|INFO|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=13;_ThreadName=Timer-6;|[AutoDeploy] Autodeploy failed : /srv/glassfish/domains/domain1/autodeploy/drools-jbrms.war.|#]
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069194#4069194
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069194
More information about the jboss-user
mailing list