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 200503101100, jdk1.5.0_02 If project (web application, ejb module) is named with mb chars, then there is a problem during deployment process. If re/deploy action is invoked, the deployment process isn't finished correctly, the reason of problem is notified both Deployment Progress Monitor (attached snapshots) and Output window (bellow). There is a question/issue, if user can name a project with mb chars. Note: User can change a Contex Path property (based on project name) for web application to be able deploy a project to app server. <part_of Output window> Deploying application in domain failed; Error loading deployment descriptors for EJB集まるModule Line 8 Column 22 -- cvc-complex-type.2.4.b: The content of element 'enterprise-beans' is not complete. One of '{"http://java.sun.com/xml/ns/j2ee":session, "http://java.sun.com/xml/ns/j2ee":entity, "http://java.sun.com/xml/ns/j2ee":message-driven}' is expected. ; requested operation cannot be completed C:\work\projects\EJB集まるModule\nbproject\build-impl.xml:283: Deployment failed. BUILD FAILED (total time: 28 seconds) </part_of Output window>
Created attachment 20788 [details] Deployment Progress Monitor
Created attachment 20789 [details] Screenshot
AS does not allow multibyte (or even extended ascii) in the context name (nor in app server instance name or jndi lookup id, maybe other places) but the issue here is - should some other way of specifying context name be used so that project name can have multibyte (where the other way would check for non ascii use) -- or should project name itself be restricted to have ascii only (and warn user and not allow non ascii input) In general in ide, project name with multibyte is allowed. another question is -- are there other places in ejb/websvc functionality where use of multibyte somewhere is ok but that value is also used to name some other item which cannot be named with multibyte ? ken.frank@sun.com
We need to map the mb name to a std ascii name... Anyone has a good algo there?
using ava.net.URLEncoder.encode to encode this to a correct url...
fixed now.
Verified - pseudolocalized build 200503242007
There has been some regerssion and this fix, having the url in browser be of form %E5%A4..... does not work, but one gets an error on web page. Since the symptoms of this are different than symptoms of this issue, a separate issue will be filed. ken.frank@sun.com 07/07/2005