users@glassfish.java.net

Re: Deploying Tomcat applications in GlassFish

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Oct 2007 08:28:26 PDT

The error is displayed in an amber colored alert box at the top of the right hand "Deploy Enterprise Applications/Modules" frame. The exact text is:

Deploying application in domain failed; Error loading deployment descriptors for module [AccountManager] -- Invalid URL Pattern: [ /accountRequest ] Error loading deployment descriptors for module [AccountManager] -- Invalid URL Pattern: [ /accountRequest ]

The stack trace in the log file is:

Log Entry Detail
        
Timestamp
        
Oct 8, 2007 08:12:49.198
Log Level
        
SEVERE
Logger
        
javax.enterprise.system.tools.deployment
Name-Value Pairs
        
_ThreadID=38;_ThreadName=Thread-56;_RequestID=a9119f95-d32d-4f1f-9dde-3e7588cb5471;
Record Number
        
221
Message ID
        
Exception occured in J2EEC Phasejava.lang.IllegalArgumentException
Complete Message
        
Invalid URL Pattern: [ /accountRequest ] com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [AccountManager] -- Invalid URL Pattern: [ /accountRequest ] at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390) 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:191) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788) at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187) at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223) Caused by: java.lang.IllegalArgumentException: Invalid URL Pattern: [ /accountRequest ] at com.sun.enterprise.deployment.node.web.ServletMappingNode.setElementValue(ServletMappingNode.java:88) at com.sun.enterprise.deployment.node.SaxParserHandler.endElement(SaxParserHandler.java:423) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidator.java:795) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at javax.xml.parsers.SAXParser.parse(SAXParser.java:395) at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:298) at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read(DeploymentDescriptorFile.java:226) 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) ... 10 more
[Message sent by forum member 'caspersgrin' (caspersgrin)]

http://forums.java.net/jive/thread.jspa?messageID=238957