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.

Bug 126043 - ear project fail to deploy when the <display-name> field in application.xml containing space
Summary: ear project fail to deploy when the <display-name> field in application.xml c...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-26 03:21 UTC by jialu
Modified: 2008-01-28 22:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jialu 2008-01-26 03:21:46 UTC
ear project fail to deploy when the <display-name> field in application.xml containing space. this is found in 
netbeans 6.1 Build 20080124213347. 
Here is a sample application.xml.
<?xml version="1.0" encoding="UTF-8"?>
<application version="5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd">
  <display-name>Company Application</display-name>
  <module>
    <web>
      <web-uri>MasterIndex9-war.war</web-uri>
      <context-root>/Companyedm</context-root>
    </web>
  </module>
  <module>
    <ejb>MasterIndex9-ejb.jar</ejb>
  </module>
</application>

The error message: ADMVAL1047: Value 'Company Application' is not valid for attribute 'name' of j2ee application 

Thanks
Comment 1 Vince Kraemer 2008-01-26 21:43:52 UTC
probably caused by my recent change for issue 123388.
Comment 2 Vince Kraemer 2008-01-26 23:00:02 UTC
work-around: disable directory deployment...

The fix will go in next week