讨论区 » AAS-V10企业版 »
部署异常
[2024-11-06T16:07:10] [] [WARNING] [] [] [tid: _ThreadID=131 _ThreadName=AutoDeployer] [timeMillis: 1730880430950] [levelValue: 900] [[
Error occurred
java.lang.IllegalArgumentException: Invalid URL Pattern: [/*.action]
at com.apusic.aas.web.deployment.node.FilterMappingNode.setElementValue(FilterMappingNode.java:117)
at com.sun.enterprise.deployment.node.SaxParserHandler.endElement(SaxParserHandler.java:613)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLNSDTDValidator.endNamespaceScope(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:298)
at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:225)
at com.sun.enterprise.deployment.archivist.Archivist.readStandardDeploymentDescriptor(Archivist.java:655)
at com.sun.enterprise.deployment.archivist.ApplicationFactory.createApplicationFromStandardDD(ApplicationFactory.java:185)
at com.apusic.aas.javaee.core.deployment.DolProvider.getNameFor(DolProvider.java:256)
at com.apusic.aas.internal.deployment.GenericHandler.getDefaultApplicationName(GenericHandler.java:128)
at com.apusic.aas.deployment.admin.DeployCommand.preAuthorization(DeployCommand.java:244)
at com.sun.enterprise.admin.util.CommandSecurityChecker$1.run(CommandSecurityChecker.java:163)
at com.sun.enterprise.admin.util.CommandSecurityChecker$1.run(CommandSecurityChecker.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Unknown Source)
at com.sun.enterprise.admin.util.CommandSecurityChecker.authorize(CommandSecurityChecker.java:159)
at com.apusic.enterprise.v10.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1275)
at com.apusic.enterprise.v10.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:94)
at com.apusic.enterprise.v10.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1894)
at com.apusic.aas.deployment.autodeploy.AutoOperation.run(AutoOperation.java:144)
at com.apusic.aas.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:580)
at com.apusic.aas.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:467)
at com.apusic.aas.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:389)
at com.apusic.aas.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
at com.apusic.aas.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:209)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
]]
分析:com.sun.org.apache.xerces.internal.parsers.XMLParser.parse用于解析xml,报错提示Invalid URL Pattern: [/*.action],com.apusic.aas.web.deployment.node.FilterMappingNode.setElementValue用于设置filter的值
方案:将/*.action改成*.action