This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NB 5.5 Beta2 (Build 200607190830, Ent.Pack 2006.07.19) Steps to reproduce it: 1. Create TRS sample app. 2. After resolving all reference issue. Deploy ReservationPartnerServicesApplication. Will get the following error in the Output window: ... Finished registering server resources deployment started : 0% Deploying application in domain failed; Error loading deployment descriptors for module [reservationpartnerservicesapplication] Line 16 Column 20 -- Deployment descriptor file META-INF/sun-application.xml in archive [reservationpartnerservicesapplication]. XML document structures must start and end within the same entity. C:\Documents and Settings\Hong\TravelReservationService\ReservationPartnerServicesApplication\nb project\build-impl.xml:217: Deployment error: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 32 seconds) In server.log, found this Exception: [#|2006-07-20T23:01:28.372-0700|SEVERE|sun-appserver- pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=15;_ThreadName=Thread- 56;_RequestID=c941cf9a-a53c-4442-9755-9a1aeb935c47;|Exception occured in J2EEC Phase com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [reservationpartnerservicesapplication] Line 16 Column 20 -- Deployment descriptor file META-INF/sun-application.xml in archive [reservationpartnerservicesapplication]. XML document structures must start and end within the same entity. at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors (Deployer.java:352) at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors (AppDeployerBase.java:327) at com.sun.enterprise.deployment.backend.AppDeployer.explodeArchive (AppDeployer.java:332) at com.sun.enterprise.deployment.backend.AppDeployer.deploy (AppDeployer.java:182) at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish (AppDeployer.java:129) at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase (J2EECPhase.java:169) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase (DeploymentPhase.java:95) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases (PEDeploymentService.java:871) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy (PEDeploymentService.java:266) at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy (PEDeploymentService.java:739) at com.sun.enterprise.management.deploy.DeployThread.deploy (DeployThread.java:174) at com.sun.enterprise.management.deploy.DeployThread.run (DeployThread.java:210) Caused by: org.xml.sax.SAXParseException: XML document structures must start and end within the same entity. at com.sun.enterprise.deployment.io.DeploymentDescriptorFile.read (DeploymentDescriptorFile.java:285) at com.sun.enterprise.deployment.archivist.Archivist.readRuntimeDeploymentDescript or(Archivist.java:514) at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readRuntimeDeploym entDescriptor(ApplicationArchivist.java:392) at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors (Deployer.java:320) ... 11 more |#]
Found this in messages.log file INFORMATIONAL *********** Exception occurred ************ at 11:01 PM on Jul 20, 2006 The module has not been deployed. [catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy (Deployment.java:115) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:82) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets (DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run (BridgeImpl.java:240) at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:293) at org.netbeans.core.execution.RunClassThread.run (RunClassThread.java:131)
*** Issue 80622 has been marked as a duplicate of this issue. ***
The copywrite notice was improperly inserted and broke the format of sun-application.xml I have fixed and checked in.
x
fixed.
Verified the the fix is in NB 5.5 Beta2 soa auto build 060724_25.
*** Issue 81031 has been marked as a duplicate of this issue. ***
verified that I am now able to deploy ReservationPartnerServiceApplication